diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-03-01 12:47:08 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-04 17:27:51 +0000 |
commit | b0a4e646b4179ac51f937f40cf865b933afb6370 (patch) | |
tree | 71cdc39a90e58c57d0f8eba9e63d5627fb5e68ea /python | |
parent | 0eb1b68f9edd701a88f9466b84577806f79fe703 (diff) | |
download | vyos-1x-b0a4e646b4179ac51f937f40cf865b933afb6370.tar.gz vyos-1x-b0a4e646b4179ac51f937f40cf865b933afb6370.zip |
T5646: Skip add filter for qos policy limiter class without match
(cherry picked from commit 2104424c1a43dc027567e051262e1eed6506491f)
Diffstat (limited to 'python')
-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 |