summaryrefslogtreecommitdiff
path: root/data/templates/tftp-server/default.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-11 21:09:01 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-11 21:09:01 +0200
commit8fab454559a8d8791cbb24b18f23634f66e8064b (patch)
tree15bd3af47be156d3725cb6415f80f2d61dc1276a /data/templates/tftp-server/default.tmpl
parent190b6612f65382917457f827eddb7b627f3b4fb0 (diff)
downloadvyos-1x-8fab454559a8d8791cbb24b18f23634f66e8064b.tar.gz
vyos-1x-8fab454559a8d8791cbb24b18f23634f66e8064b.zip
tftp-server: T2974: migrate to get_config_dict()
Diffstat (limited to 'data/templates/tftp-server/default.tmpl')
-rw-r--r--data/templates/tftp-server/default.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/tftp-server/default.tmpl b/data/templates/tftp-server/default.tmpl
index 18fee35d1..6b2d6a903 100644
--- a/data/templates/tftp-server/default.tmpl
+++ b/data/templates/tftp-server/default.tmpl
@@ -1,2 +1,2 @@
### Autogenerated by tftp_server.py ###
-DAEMON_ARGS="--listen --user tftp --address {% for a in listen-%}{{ a }}{% endfor %}{% if allow_upload %} --create --umask 000{% endif %} --secure {{ directory }}"
+DAEMON_ARGS="--listen --user tftp --address {{ listen_address }} {{ "--create --umask 000" if allow_upload is defined }} --secure {{ directory }}"