summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/service_pppoe-server.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf_mode/service_pppoe-server.py b/src/conf_mode/service_pppoe-server.py
index a4e937b1a..9935b166f 100755
--- a/src/conf_mode/service_pppoe-server.py
+++ b/src/conf_mode/service_pppoe-server.py
@@ -82,6 +82,7 @@ default_config_data = {
'radius_shaper_attr': '',
'radius_shaper_vendor': '',
'radius_dynamic_author': '',
+ 'radius_called_sid_format': '',
'sesscrtl': 'replace',
'snmp': False,
'thread_cnt': get_half_cpus()
@@ -315,6 +316,9 @@ def get_config(config=None):
pppoe['radius_dynamic_author'] = dae
+ if conf.exists(['called-sid-format']):
+ pppoe['radius_called_sid_format'] = conf.return_value(['called-sid-format'])
+
# RADIUS based rate-limiter
if conf.exists(['rate-limit', 'enable']):
pppoe['radius_shaper_attr'] = 'Filter-Id'