diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-11-06 10:15:16 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-11-06 10:15:16 +0000 |
commit | cf9229544a30e5aa47e307c021d4798a0162d291 (patch) | |
tree | 87ebb717a9605a5cbb5f9297db8ed123b5b85541 /data/templates/accel-ppp/config_shaper_radius.j2 | |
parent | d8a71978b4628e30b25346f4ff690e8705020408 (diff) | |
download | vyos-1x-cf9229544a30e5aa47e307c021d4798a0162d291.tar.gz vyos-1x-cf9229544a30e5aa47e307c021d4798a0162d291.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
Diffstat (limited to 'data/templates/accel-ppp/config_shaper_radius.j2')
-rw-r--r-- | data/templates/accel-ppp/config_shaper_radius.j2 | 2 |
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 |