summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_ipoe-server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-19 10:34:10 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-19 10:34:21 +0200
commit75a382ae75e3ea5b2d0011572acc125a16dd81b1 (patch)
tree09d477647da254a8f8c3316c24beee7984759aa6 /src/conf_mode/service_ipoe-server.py
parentb2af248ff2c63ac08ef7b9f01fdcec023c815086 (diff)
downloadvyos-1x-75a382ae75e3ea5b2d0011572acc125a16dd81b1.tar.gz
vyos-1x-75a382ae75e3ea5b2d0011572acc125a16dd81b1.zip
{pppoe,ipoe}-server: T2324: T2314: migrate CoA server
Diffstat (limited to 'src/conf_mode/service_ipoe-server.py')
-rwxr-xr-xsrc/conf_mode/service_ipoe-server.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conf_mode/service_ipoe-server.py b/src/conf_mode/service_ipoe-server.py
index 860458e0e..23a2091bd 100755
--- a/src/conf_mode/service_ipoe-server.py
+++ b/src/conf_mode/service_ipoe-server.py
@@ -188,14 +188,14 @@ def get_config():
'key' : ''
}
- if conf.exists(['dynamic-author', 'ip-address']):
- dae['server'] = conf.return_value(['dynamic-author', 'ip-address'])
+ if conf.exists(['dynamic-author', 'server']):
+ dae['server'] = conf.return_value(['dynamic-author', 'server'])
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'])
ipoe['radius_dynamic_author'] = dae