summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-02-24 23:02:35 +0100
committerChristian Poessinger <christian@poessinger.com>2019-02-24 23:02:35 +0100
commitfbfe43b5ae7692e6ee6ce6d5517efdb2cdf8f022 (patch)
tree189af20a5fd952ff2275fd2a2e3f2fd83a6c5989
parent3a1e484c69c883af03f355f0349ef218212207e1 (diff)
downloadvyos-1x-fbfe43b5ae7692e6ee6ce6d5517efdb2cdf8f022.tar.gz
vyos-1x-fbfe43b5ae7692e6ee6ce6d5517efdb2cdf8f022.zip
[tftp] T1261: bugfix allow-upload handling
-rwxr-xr-xsrc/conf_mode/tftp_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/tftp_server.py b/src/conf_mode/tftp_server.py
index e414ba619..d0df6126e 100755
--- a/src/conf_mode/tftp_server.py
+++ b/src/conf_mode/tftp_server.py
@@ -57,7 +57,7 @@ def get_config():
if conf.exists('directory'):
tftpd['directory'] = conf.return_value('directory')
- if conf.exists('allow_upload'):
+ if conf.exists('allow-upload'):
tftpd['allow_upload'] = True
if conf.exists('port'):