diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-03-01 17:51:31 +0200 |
---|---|---|
committer | Nataliia Solomko <natalirs1985@gmail.com> | 2024-03-01 17:51:31 +0200 |
commit | c7f5b510cfd117e57f2d22e259c843600ef4cc76 (patch) | |
tree | 4bf08867e42ee9cb14f6e56c246c1bcbcad85981 | |
parent | beb0576b1cb5e09ceb398e465c81cb8c06960391 (diff) | |
download | vyos-1x-c7f5b510cfd117e57f2d22e259c843600ef4cc76.tar.gz vyos-1x-c7f5b510cfd117e57f2d22e259c843600ef4cc76.zip |
qos: T6081: QoS policy shaper target and interval wrong calcuations
-rw-r--r-- | python/vyos/qos/base.py | 7 |
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' |