summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_shaper_radius.j2
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-07 08:28:08 +0100
committerGitHub <noreply@github.com>2023-11-07 08:28:08 +0100
commit9c82fea9f086ba72b51da3b963fbc8eab35f95a5 (patch)
treea0b313418d6f6e1ca4418524499a48f54c7d9677 /data/templates/accel-ppp/config_shaper_radius.j2
parent366ee7d81082ec3322ec121c98aa3b78364cdeeb (diff)
parentcda6fd0f78cc69df9a071338a46955e251386400 (diff)
downloadvyos-1x-9c82fea9f086ba72b51da3b963fbc8eab35f95a5.tar.gz
vyos-1x-9c82fea9f086ba72b51da3b963fbc8eab35f95a5.zip
Merge pull request #2450 from vyos/mergify/bp/sagitta/pr-2440
T5716: Fix accel-ppp template down-limiter does not rely on fwmark (backport #2440)
Diffstat (limited to 'data/templates/accel-ppp/config_shaper_radius.j2')
-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