diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-03-04 18:25:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 18:25:45 +0100 |
commit | 450bb16795305e32e46b21da4bb5913843d9d871 (patch) | |
tree | 0b15c2124de91800095e13d26284e2ee2f613ce6 /python | |
parent | dc21e56149e0e28c47a913f5cd407894e2b0df09 (diff) | |
parent | 2104424c1a43dc027567e051262e1eed6506491f (diff) | |
download | vyos-1x-450bb16795305e32e46b21da4bb5913843d9d871.tar.gz vyos-1x-450bb16795305e32e46b21da4bb5913843d9d871.zip |
Merge pull request #3068 from natali-rs1985/T5646-current
qos: T5646: Skip add filter for qos policy limiter class without match
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 |