diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-19 10:33:10 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-19 10:33:10 +0200 |
commit | b2af248ff2c63ac08ef7b9f01fdcec023c815086 (patch) | |
tree | fd4596b411097b92e2b3c6d400ae1138cf872068 /src/conf_mode/service_pppoe-server.py | |
parent | c08ea8340ec5138b5f7a696eae09ff77a734350e (diff) | |
download | vyos-1x-b2af248ff2c63ac08ef7b9f01fdcec023c815086.tar.gz vyos-1x-b2af248ff2c63ac08ef7b9f01fdcec023c815086.zip |
pppoe-server: T2314: add common accel-radius-additions XML file
Diffstat (limited to 'src/conf_mode/service_pppoe-server.py')
-rwxr-xr-x | src/conf_mode/service_pppoe-server.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conf_mode/service_pppoe-server.py b/src/conf_mode/service_pppoe-server.py index b791f1716..f0dd3751a 100755 --- a/src/conf_mode/service_pppoe-server.py +++ b/src/conf_mode/service_pppoe-server.py @@ -276,14 +276,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']) pppoe['radius_dynamic_author'] = dae |