summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-06 21:33:11 +0100
committerGitHub <noreply@github.com>2023-11-06 21:33:11 +0100
commit02d84bcf4dcf0ba11ee0fb92ce86a78c28edba84 (patch)
tree88d4f38c95b29faa615f35f10d239628a155e42e /data
parentf4b1df3c84072624060e13a6099d2032e0a4ee47 (diff)
parentcf9229544a30e5aa47e307c021d4798a0162d291 (diff)
downloadvyos-1x-02d84bcf4dcf0ba11ee0fb92ce86a78c28edba84.tar.gz
vyos-1x-02d84bcf4dcf0ba11ee0fb92ce86a78c28edba84.zip
Merge pull request #2440 from sever-sever/T5716
T5716: Fix accel-ppp template down-limiter does not rely on fwmark
Diffstat (limited to 'data')
-rw-r--r--data/templates/accel-ppp/config_shaper_radius.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/config_shaper_radius.j2 b/data/templates/accel-ppp/config_shaper_radius.j2
index 0cf6a6a92..fcd68f69e 100644
--- a/data/templates/accel-ppp/config_shaper_radius.j2
+++ b/data/templates/accel-ppp/config_shaper_radius.j2
@@ -1,6 +1,7 @@
{% if authentication.mode is vyos_defined('radius') or shaper is vyos_defined %}
[shaper]
verbose=1
+down-limiter=tbf
{% if authentication.radius.rate_limit.enable is vyos_defined %}
attr={{ authentication.radius.rate_limit.attribute }}
{% if authentication.radius.rate_limit.vendor is vyos_defined %}
@@ -13,7 +14,6 @@ rate-multiplier={{ authentication.radius.rate_limit.multiplier }}
{% if shaper is vyos_defined %}
{% if shaper.fwmark is vyos_defined %}
fwmark={{ shaper.fwmark }}
-down-limiter=htb
{% endif %}
{% endif %}
{% endif %} \ No newline at end of file