diff options
Diffstat (limited to 'src')
-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 ff7cad0c9..8592de56e 100755 --- a/src/conf_mode/tftp_server.py +++ b/src/conf_mode/tftp_server.py @@ -101,7 +101,7 @@ def generate(tftpd): if vyos.validate.is_ipv4(listen): config['listen'] = [listen + ":" + tftpd['port'] + " -4"] else: - config['listen'] = ["[" + listen + "]" + tftpd['port'] + " -6"] + config['listen'] = ["[" + listen + "]:" + tftpd['port'] + " -6"] tmpl = jinja2.Template(config_tmpl) config_text = tmpl.render(config) |