summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-01 22:27:38 +0100
committerGitHub <noreply@github.com>2024-03-01 22:27:38 +0100
commitc0db7646ad3858256235fa00a3fd00fd785a4716 (patch)
tree4bf08867e42ee9cb14f6e56c246c1bcbcad85981
parentbeb0576b1cb5e09ceb398e465c81cb8c06960391 (diff)
parentc7f5b510cfd117e57f2d22e259c843600ef4cc76 (diff)
downloadvyos-1x-c0db7646ad3858256235fa00a3fd00fd785a4716.tar.gz
vyos-1x-c0db7646ad3858256235fa00a3fd00fd785a4716.zip
Merge pull request #3069 from natali-rs1985/T6081-current
qos: T6081: QoS policy shaper target and interval wrong calcuations
-rw-r--r--python/vyos/qos/base.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/python/vyos/qos/base.py b/python/vyos/qos/base.py
index a22039e52..b25e9b481 100644
--- a/python/vyos/qos/base.py
+++ b/python/vyos/qos/base.py
@@ -129,16 +129,13 @@ class QoSBase:
if tmp: default_tc += f' flows {tmp}'
tmp = dict_search('interval', config)
- if tmp: default_tc += f' interval {tmp}'
-
- tmp = dict_search('interval', config)
- if tmp: default_tc += f' interval {tmp}'
+ if tmp: default_tc += f' interval {tmp}ms'
tmp = dict_search('queue_limit', config)
if tmp: default_tc += f' limit {tmp}'
tmp = dict_search('target', config)
- if tmp: default_tc += f' target {tmp}'
+ if tmp: default_tc += f' target {tmp}ms'
default_tc += f' noecn'