diff options
author | Christian Breunig <christian@breunig.cc> | 2023-05-09 19:23:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 19:23:46 +0200 |
commit | 3543aecf8463d5d6328ac669c12c482ed4e1ccba (patch) | |
tree | 040255ca61e096403f322b2f362e7ac8f8ff9d32 /data/templates | |
parent | 36a60cd14733ca2695144b085d5b444c2e3625d3 (diff) | |
parent | ac0fedb7ac243947451e7263047a0f9e568c643a (diff) | |
download | vyos-1x-3543aecf8463d5d6328ac669c12c482ed4e1ccba.tar.gz vyos-1x-3543aecf8463d5d6328ac669c12c482ed4e1ccba.zip |
Merge pull request #1986 from sever-sever/T5213
T5213: Add accounting-interim-interval option for PPPoE IPoE SSTP
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/accel-ppp/config_chap_secrets_radius.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/config_chap_secrets_radius.j2 b/data/templates/accel-ppp/config_chap_secrets_radius.j2 index bb820497b..a498d8186 100644 --- a/data/templates/accel-ppp/config_chap_secrets_radius.j2 +++ b/data/templates/accel-ppp/config_chap_secrets_radius.j2 @@ -7,6 +7,9 @@ verbose=1 {% for server, options in authentication.radius.server.items() if not options.disable is vyos_defined %} server={{ server }},{{ options.key }},auth-port={{ options.port }},acct-port={{ options.acct_port }},req-limit=0,fail-time={{ options.fail_time }} {% endfor %} +{% if authentication.radius.accounting_interim_interval is vyos_defined %} +acct-interim-interval={{ authentication.radius.accounting_interim_interval }} +{% endif %} {% if authentication.radius.acct_interim_jitter is vyos_defined %} acct-interim-jitter={{ authentication.radius.acct_interim_jitter }} {% endif %} |