diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-09-26 22:21:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 22:21:44 +0200 |
commit | 57b37c9e23418fbfbe3094a9b51e8f0dba07aaa8 (patch) | |
tree | 63b78b9c3db8ebf77332d0a5c2d425fc199ea401 /src/conf_mode/service_pppoe-server.py | |
parent | aacb2b8a5dc2acd8005fddf31b789d2fa12eaa6d (diff) | |
parent | 2295961ee36475082bef76dc84aa35226a87593c (diff) | |
download | vyos-1x-57b37c9e23418fbfbe3094a9b51e8f0dba07aaa8.tar.gz vyos-1x-57b37c9e23418fbfbe3094a9b51e8f0dba07aaa8.zip |
Merge pull request #554 from sever-sever/T2918
accel-ppp: T2918: Add accounting interim jitter option
Diffstat (limited to 'src/conf_mode/service_pppoe-server.py')
-rwxr-xr-x | src/conf_mode/service_pppoe-server.py | 4 |
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']) |