diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-05-10 09:31:10 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-05-10 09:31:10 +0000 |
commit | 98c310462dedbb3907e8ba871dab89ae7573e667 (patch) | |
tree | d1d31df3d07f693db6d8b1fa648c754fbfb06662 /data/templates | |
parent | 153f3579d703e16bbd0f82b1ac243f42c25af6bd (diff) | |
download | vyos-1x-98c310462dedbb3907e8ba871dab89ae7573e667.tar.gz vyos-1x-98c310462dedbb3907e8ba871dab89ae7573e667.zip |
T5213: Add accounting-interim-interval option for PPTP-server
Add RADIUS accounting-interim-interval option for PPTP-server
Specifies interval in seconds to send accounting information
(may be overridden by radius Acct-Interim-Interval attribute)
set vpn pptp remote-access authentication radius accounting-interim-interval '52'
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/accel-ppp/pptp.config.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pptp.config.j2 b/data/templates/accel-ppp/pptp.config.j2 index 78a629d2d..0082e55bf 100644 --- a/data/templates/accel-ppp/pptp.config.j2 +++ b/data/templates/accel-ppp/pptp.config.j2 @@ -70,6 +70,9 @@ verbose=1 server={{ r.server }},{{ r.key }},auth-port={{ r.port }},acct-port={{ r.acct_port }},req-limit=0,fail-time={{ r.fail_time }} {% endfor %} +{% if radius_acct_interim_interval is vyos_defined %} +acct-interim-interval={{ radius_acct_interim_interval }} +{% endif %} {% if radius_acct_inter_jitter %} acct-interim-jitter={{ radius_acct_inter_jitter }} {% endif %} |