diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-10-11 19:29:23 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-10-11 19:34:23 +0200 |
commit | c30849469492d05db9f4a8be49cc6705e139171e (patch) | |
tree | 05a9ecd528c9cdbaa6a1323e10aa57382978e736 | |
parent | 1acc499f5e50a4e9b2c4738b29f41b2c3274bc78 (diff) | |
download | vyos-1x-c30849469492d05db9f4a8be49cc6705e139171e.tar.gz vyos-1x-c30849469492d05db9f4a8be49cc6705e139171e.zip |
tftp-server: T2973: bugfix IPv6 listen address/port combination
The mandatory colon for separating the IPv6 address and port was missing.
-rwxr-xr-x | src/conf_mode/tftp_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |