summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-22 22:43:16 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-22 22:43:16 +0200
commit749dbd53298b812e9d7324b1abdb125d9ee9c07a (patch)
treee57f83d569e3b3cfff81e119da6e517f672e38c9
parent6d847cd6fb3945e150e4fdcd0f3b2dd0122a6ea6 (diff)
downloadvyos-1x-749dbd53298b812e9d7324b1abdb125d9ee9c07a.tar.gz
vyos-1x-749dbd53298b812e9d7324b1abdb125d9ee9c07a.zip
vpn: l2tp: T2264: fix improper use of fail-time dictionary key
-rwxr-xr-xsrc/conf_mode/vpn_l2tp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_l2tp.py b/src/conf_mode/vpn_l2tp.py
index 7e40be32a..88df2902e 100755
--- a/src/conf_mode/vpn_l2tp.py
+++ b/src/conf_mode/vpn_l2tp.py
@@ -157,7 +157,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'])