summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-03-01 12:47:08 +0200
committerNataliia Solomko <natalirs1985@gmail.com>2024-03-01 12:47:08 +0200
commit2104424c1a43dc027567e051262e1eed6506491f (patch)
treeb201ea648a9f76ba7efdd9bd905352a3218f6872
parentc095867d873a9a7dde038bb751ba26edc66b99f7 (diff)
downloadvyos-1x-2104424c1a43dc027567e051262e1eed6506491f.tar.gz
vyos-1x-2104424c1a43dc027567e051262e1eed6506491f.zip
T5646: Skip add filter for qos policy limiter class without match
-rw-r--r--python/vyos/qos/base.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/python/vyos/qos/base.py b/python/vyos/qos/base.py
index a22039e52..4eab3b85a 100644
--- a/python/vyos/qos/base.py
+++ b/python/vyos/qos/base.py
@@ -331,15 +331,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