summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-11-06 10:15:16 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-11-07 07:17:52 +0000
commitcda6fd0f78cc69df9a071338a46955e251386400 (patch)
treeba1aa74898aea4b4bc39feba2df3866f2e1a3ab2
parent7a4d59acaf62908a20f7aa143816c608f5479fb2 (diff)
downloadvyos-1x-cda6fd0f78cc69df9a071338a46955e251386400.tar.gz
vyos-1x-cda6fd0f78cc69df9a071338a46955e251386400.zip
T5716: Fix accel-ppp template down-limiter does not rely on fwmark
accel-ppp template shaper `down-limiter` does not rely on `fwmark` Fix it (cherry picked from commit cf9229544a30e5aa47e307c021d4798a0162d291)
-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