summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_pptp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-22 22:43:37 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-22 22:43:37 +0200
commit62ef43fe5e369e158e01b58c19c8a33aeb2a87fb (patch)
tree5bd1505f60ae9036402830140e6ee56768dc8ad4 /src/conf_mode/vpn_pptp.py
parent749dbd53298b812e9d7324b1abdb125d9ee9c07a (diff)
downloadvyos-1x-62ef43fe5e369e158e01b58c19c8a33aeb2a87fb.tar.gz
vyos-1x-62ef43fe5e369e158e01b58c19c8a33aeb2a87fb.zip
vpn: pptp: T2351: fix improper use of fail-time dictionary key
Diffstat (limited to 'src/conf_mode/vpn_pptp.py')
-rwxr-xr-xsrc/conf_mode/vpn_pptp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_pptp.py b/src/conf_mode/vpn_pptp.py
index 5c8b53e1d..4536692d2 100755
--- a/src/conf_mode/vpn_pptp.py
+++ b/src/conf_mode/vpn_pptp.py
@@ -117,7 +117,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'])