diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-15 16:18:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-15 16:18:29 +0100 |
commit | eb079e4a49150934dec082861176f5a5213c1206 (patch) | |
tree | 4d74c32d40d8d25522aeb54600a154517df41c53 /data/templates/accel-ppp/config_limits.j2 | |
parent | 697ce8c51c2ae9667a699b3d95e0ffa6b1984328 (diff) | |
parent | 8eec0b5b062b5f98a865949ac0f2a49d61b81199 (diff) | |
download | vyos-1x-eb079e4a49150934dec082861176f5a5213c1206.tar.gz vyos-1x-eb079e4a49150934dec082861176f5a5213c1206.zip |
Merge pull request #3013 from vyos/mergify/bp/sagitta/pr-3004
T6029: Rewritten Accel-PPP services to an identical feature set (backport #3004)
Diffstat (limited to 'data/templates/accel-ppp/config_limits.j2')
-rw-r--r-- | data/templates/accel-ppp/config_limits.j2 | 12 |
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 |