From 62ef43fe5e369e158e01b58c19c8a33aeb2a87fb Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 22 Jun 2020 22:43:37 +0200 Subject: vpn: pptp: T2351: fix improper use of fail-time dictionary key --- src/conf_mode/vpn_pptp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/vpn_pptp.py') 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']) -- cgit v1.2.3