diff --git a/python/vyos/qos/base.py b/python/vyos/qos/base.py index afeaaee0b0..717e3c2149 100644 --- a/python/vyos/qos/base.py +++ b/python/vyos/qos/base.py @@ -217,7 +217,7 @@ def update(self, config, direction, priority=None): 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']