summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_limits.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/accel-ppp/config_limits.j2')
-rw-r--r--data/templates/accel-ppp/config_limits.j212
1 files changed, 12 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/config_limits.j2 b/data/templates/accel-ppp/config_limits.j2
new file mode 100644
index 000000000..f10dfccd7
--- /dev/null
+++ b/data/templates/accel-ppp/config_limits.j2
@@ -0,0 +1,12 @@
+{% if limits is vyos_defined %}
+[connlimit]
+{% if limits.connection_limit is vyos_defined %}
+limit={{ limits.connection_limit }}
+{% endif %}
+{% if limits.burst is vyos_defined %}
+burst={{ limits.burst }}
+{% endif %}
+{% if limits.timeout is vyos_defined %}
+timeout={{ limits.timeout }}
+{% endif %}
+{% endif %} \ No newline at end of file