summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-22 22:43:59 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-22 22:43:59 +0200
commitacb36882e1ea5d5a5ec8a067ebde0f84f295c98e (patch)
tree42618aa4f8f1e6c6434323494caa483e404ddba5
parent62ef43fe5e369e158e01b58c19c8a33aeb2a87fb (diff)
downloadvyos-1x-acb36882e1ea5d5a5ec8a067ebde0f84f295c98e.tar.gz
vyos-1x-acb36882e1ea5d5a5ec8a067ebde0f84f295c98e.zip
vpn: sstp: T2008: fix improper use of fail-time dictionary key
-rwxr-xr-xsrc/conf_mode/vpn_sstp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_sstp.py b/src/conf_mode/vpn_sstp.py
index e080ce0dd..4c4d8e403 100755
--- a/src/conf_mode/vpn_sstp.py
+++ b/src/conf_mode/vpn_sstp.py
@@ -124,7 +124,7 @@ def get_config():
conf.set_level(base_path + ['authentication', 'radius', 'server', server])
if conf.exists(['fail-time']):
- radius['fail-time'] = conf.return_value(['fail-time'])
+ radius['fail_time'] = conf.return_value(['fail-time'])
if conf.exists(['port']):
radius['port'] = conf.return_value(['port'])