diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-07-03 00:00:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 00:00:44 +0300 |
commit | 4599a9e35b8944a56e82d990957da27444b7814c (patch) | |
tree | bc365cbf770a30c8bfb64ad983531840f434118d | |
parent | 687c963ebd64bb030c8feed0a873ecb66b88ca22 (diff) | |
parent | e0498b5c25e7635e0ebefff32a25e489497230f7 (diff) | |
download | vyos-1x-4599a9e35b8944a56e82d990957da27444b7814c.tar.gz vyos-1x-4599a9e35b8944a56e82d990957da27444b7814c.zip |
Merge pull request #2068 from sever-sever/T5048
T5048: QoS do not add prio if it is already in tc command
-rw-r--r-- | python/vyos/qos/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/qos/base.py b/python/vyos/qos/base.py index afeaaee0b..717e3c214 100644 --- a/python/vyos/qos/base.py +++ b/python/vyos/qos/base.py @@ -217,7 +217,7 @@ class QoSBase: if 'match' in cls_config: for index, (match, match_config) in enumerate(cls_config['match'].items(), start=1): filter_cmd = filter_cmd_base - if self.qostype == 'shaper': + if self.qostype == 'shaper' and 'prio ' not in filter_cmd: filter_cmd += f' prio {index}' if 'mark' in match_config: mark = match_config['mark'] |