summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/l2tp.config.j2
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-11-02 21:20:59 +0200
committerGitHub <noreply@github.com>2023-11-02 21:20:59 +0200
commita327526240c9d9f42930e9a1ce871e9fa8036258 (patch)
treea6d540305d507e54ce3aea003e36ec723f3d81a4 /data/templates/accel-ppp/l2tp.config.j2
parent19ec98f993bdaa9a47af25ee776bb12fe2e21e1b (diff)
parent27c6dce457781fcda791899b7c6e0f1b9c03efd4 (diff)
downloadvyos-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/l2tp.config.j2')
-rw-r--r--data/templates/accel-ppp/l2tp.config.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/l2tp.config.j2 b/data/templates/accel-ppp/l2tp.config.j2
index a2f9c9fc7..b089d3e71 100644
--- a/data/templates/accel-ppp/l2tp.config.j2
+++ b/data/templates/accel-ppp/l2tp.config.j2
@@ -20,6 +20,11 @@ ipv6_dhcp
[core]
thread-count={{ thread_cnt }}
+[common]
+{% if max_concurrent_sessions is vyos_defined %}
+max-starting={{ max_concurrent_sessions }}
+{% endif %}
+
[log]
syslog=accel-l2tp,daemon
copy=1