From c30849469492d05db9f4a8be49cc6705e139171e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 11 Oct 2020 19:29:23 +0200 Subject: tftp-server: T2973: bugfix IPv6 listen address/port combination The mandatory colon for separating the IPv6 address and port was missing. --- src/conf_mode/tftp_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/tftp_server.py b/src/conf_mode/tftp_server.py index ad5ee9c33..32665ebc7 100755 --- a/src/conf_mode/tftp_server.py +++ b/src/conf_mode/tftp_server.py @@ -100,7 +100,7 @@ def generate(tftpd): if is_ipv4(listen): config['listen'] = [listen + ":" + tftpd['port'] + " -4"] else: - config['listen'] = ["[" + listen + "]" + tftpd['port'] + " -6"] + config['listen'] = ["[" + listen + "]:" + tftpd['port'] + " -6"] file = config_file + str(idx) render(file, 'tftp-server/default.tmpl', config) -- cgit v1.2.3