summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/pptp.config.j2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-02 16:52:48 +0100
committerGitHub <noreply@github.com>2023-11-02 16:52:48 +0100
commit0c86d0a94beb7b36f011d911e2548b198eb634b3 (patch)
tree90adeda9f819934d768474477286f3733a499823 /data/templates/accel-ppp/pptp.config.j2
parent42d4a2d69288a06346ae9ca4be72a14198d6fe51 (diff)
parent47645f9d0243ce48a473ab7f8cdbd22c19f69f28 (diff)
downloadvyos-1x-0c86d0a94beb7b36f011d911e2548b198eb634b3.tar.gz
vyos-1x-0c86d0a94beb7b36f011d911e2548b198eb634b3.zip
Merge pull request #2427 from sever-sever/T5704
T5704: PPPoE L2TP SSTP IPoE add option max-concurrent-sessions
Diffstat (limited to 'data/templates/accel-ppp/pptp.config.j2')
-rw-r--r--data/templates/accel-ppp/pptp.config.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pptp.config.j2 b/data/templates/accel-ppp/pptp.config.j2
index 0082e55bf..46a9f933a 100644
--- a/data/templates/accel-ppp/pptp.config.j2
+++ b/data/templates/accel-ppp/pptp.config.j2
@@ -16,6 +16,11 @@ ippool
[core]
thread-count={{ thread_cnt }}
+[common]
+{% if max_concurrent_sessions is vyos_defined %}
+max-starting={{ max_concurrent_sessions }}
+{% endif %}
+
[log]
syslog=accel-pptp,daemon
copy=1