summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_pppoe-server.py
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-09-26 14:00:33 +0000
committersever-sever <v.gletenko@vyos.io>2020-09-26 15:07:28 +0000
commit2295961ee36475082bef76dc84aa35226a87593c (patch)
tree8c179e545dfbc4b5b4f811d0495a9bf7ad1fe3fc /src/conf_mode/service_pppoe-server.py
parent9717d6630144a4c1acaa473d1bdacf2536f8e041 (diff)
downloadvyos-1x-2295961ee36475082bef76dc84aa35226a87593c.tar.gz
vyos-1x-2295961ee36475082bef76dc84aa35226a87593c.zip
accel-ppp: T2918: Add accounting interim jitter option
Diffstat (limited to 'src/conf_mode/service_pppoe-server.py')
-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 de15ca879..a4e937b1a 100755
--- a/src/conf_mode/service_pppoe-server.py
+++ b/src/conf_mode/service_pppoe-server.py
@@ -72,6 +72,7 @@ default_config_data = {
'ppp_preallocate_vif': False,
'radius_server': [],
+ 'radius_acct_inter_jitter': '',
'radius_acct_tmo': '3',
'radius_max_try': '3',
'radius_timeout': '3',
@@ -271,6 +272,9 @@ def get_config(config=None):
# advanced radius-setting
conf.set_level(base_path + ['authentication', 'radius'])
+ if conf.exists(['acct-interim-jitter']):
+ pppoe['radius_acct_inter_jitter'] = conf.return_value(['acct-interim-jitter'])
+
if conf.exists(['acct-timeout']):
pppoe['radius_acct_tmo'] = conf.return_value(['acct-timeout'])