From b0a4e646b4179ac51f937f40cf865b933afb6370 Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Fri, 1 Mar 2024 12:47:08 +0200 Subject: T5646: Skip add filter for qos policy limiter class without match (cherry picked from commit 2104424c1a43dc027567e051262e1eed6506491f) --- python/vyos/qos/base.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'python') 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 -- cgit v1.2.3