diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-11-02 21:20:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-02 21:20:59 +0200 |
commit | a327526240c9d9f42930e9a1ce871e9fa8036258 (patch) | |
tree | a6d540305d507e54ce3aea003e36ec723f3d81a4 /data/templates/accel-ppp/pppoe.config.j2 | |
parent | 19ec98f993bdaa9a47af25ee776bb12fe2e21e1b (diff) | |
parent | 27c6dce457781fcda791899b7c6e0f1b9c03efd4 (diff) | |
download | vyos-1x-a327526240c9d9f42930e9a1ce871e9fa8036258.tar.gz vyos-1x-a327526240c9d9f42930e9a1ce871e9fa8036258.zip |
Merge pull request #2430 from vyos/mergify/bp/sagitta/pr-2427
T5704: PPPoE L2TP SSTP IPoE add option max-concurrent-sessions (backport #2427)
Diffstat (limited to 'data/templates/accel-ppp/pppoe.config.j2')
-rw-r--r-- | data/templates/accel-ppp/pppoe.config.j2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2 index dd53edd28..e1ae3660e 100644 --- a/data/templates/accel-ppp/pppoe.config.j2 +++ b/data/templates/accel-ppp/pppoe.config.j2 @@ -62,10 +62,13 @@ wins{{ loop.index }}={{ server }} {# Common chap-secrets and RADIUS server/option definitions #} {% include 'accel-ppp/config_chap_secrets_radius.j2' %} -{% if session_control is vyos_defined and session_control is not vyos_defined('disable') %} [common] +{% if session_control is vyos_defined and session_control is not vyos_defined('disable') %} single-session={{ session_control }} {% endif %} +{% if max_concurrent_sessions is vyos_defined %} +max-starting={{ max_concurrent_sessions }} +{% endif %} [ppp] verbose=1 |