summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_pptp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-22 18:16:13 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-22 18:35:43 +0200
commitd55ab3a9fa06f3b4827665d269cef6819b549771 (patch)
treecbe5ba90e8912b3dcda2ecd5e9bd6c59eb281c45 /src/conf_mode/vpn_pptp.py
parentf9fbda14a2559794999f3391e420c70b31e6a343 (diff)
downloadvyos-1x-d55ab3a9fa06f3b4827665d269cef6819b549771.tar.gz
vyos-1x-d55ab3a9fa06f3b4827665d269cef6819b549771.zip
vpn: pptp: T2351: migrate to common radius CLI
Diffstat (limited to 'src/conf_mode/vpn_pptp.py')
-rwxr-xr-xsrc/conf_mode/vpn_pptp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conf_mode/vpn_pptp.py b/src/conf_mode/vpn_pptp.py
index 841c1b375..a602de412 100755
--- a/src/conf_mode/vpn_pptp.py
+++ b/src/conf_mode/vpn_pptp.py
@@ -119,8 +119,8 @@ def get_config():
if conf.exists(['port']):
radius['port'] = conf.return_value(['port'])
- if conf.exists(['secret']):
- radius['key'] = conf.return_value(['secret'])
+ if conf.exists(['key']):
+ radius['key'] = conf.return_value(['key'])
if not conf.exists(['disable']):
pptp['radius_server'].append(radius)
@@ -161,8 +161,8 @@ def get_config():
if conf.exists(['dynamic-author', 'port']):
dae['port'] = conf.return_value(['dynamic-author', 'port'])
- if conf.exists(['dynamic-author', 'secret']):
- dae['key'] = conf.return_value(['dynamic-author', 'secret'])
+ if conf.exists(['dynamic-author', 'key']):
+ dae['key'] = conf.return_value(['dynamic-author', 'key'])
pptp['radius_dynamic_author'] = dae