diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-02-24 23:02:35 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-02-25 18:22:47 +0100 |
commit | 766180e91c778e3276a6465d50900bd41eae02a0 (patch) | |
tree | 313399f2d4ec9ee55415545b5e45c6ce9c4dea9c /src/conf_mode | |
parent | 2e87e0c759e99487a85e7e5b1495f832da7ba29c (diff) | |
download | vyos-1x-766180e91c778e3276a6465d50900bd41eae02a0.tar.gz vyos-1x-766180e91c778e3276a6465d50900bd41eae02a0.zip |
[tftp] T1261: bugfix allow-upload handling
(cherry picked from commit fbfe43b5ae7692e6ee6ce6d5517efdb2cdf8f022)
Diffstat (limited to 'src/conf_mode')
-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 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'): |