diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-05 07:22:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 07:22:04 +0100 |
commit | 999cbce33bf40cc37232d2a54a47185d1292f5d0 (patch) | |
tree | 99d4a55ae05419486443fd3880976f204ca93eed /python/vyos/qos/base.py | |
parent | bd0f7537e74b4fe99796ceb5352ea573fde348da (diff) | |
parent | b0a4e646b4179ac51f937f40cf865b933afb6370 (diff) | |
download | vyos-1x-999cbce33bf40cc37232d2a54a47185d1292f5d0.tar.gz vyos-1x-999cbce33bf40cc37232d2a54a47185d1292f5d0.zip |
Merge pull request #3084 from vyos/mergify/bp/sagitta/pr-3068
qos: T5646: Skip add filter for qos policy limiter class without match (backport #3068)
Diffstat (limited to 'python/vyos/qos/base.py')
-rw-r--r-- | python/vyos/qos/base.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/python/vyos/qos/base.py b/python/vyos/qos/base.py index b25e9b481..47318122b 100644 --- a/python/vyos/qos/base.py +++ b/python/vyos/qos/base.py @@ -328,15 +328,6 @@ class QoSBase: filter_cmd += f' flowid {self._parent:x}:{cls:x}' self._cmd(filter_cmd) - else: - - filter_cmd += ' basic' - - cls = int(cls) - filter_cmd += f' flowid {self._parent:x}:{cls:x}' - self._cmd(filter_cmd) - - # The police block allows limiting of the byte or packet rate of # traffic matched by the filter it is attached to. # https://man7.org/linux/man-pages/man8/tc-police.8.html |