Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qos: T5646: Skip add filter for qos policy limiter class without match #3068

Merged
merged 1 commit into from Mar 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 0 additions & 9 deletions python/vyos/qos/base.py
Expand Up @@ -331,15 +331,6 @@ def update(self, config, direction, priority=None):
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}'
sever-sever marked this conversation as resolved.
Show resolved Hide resolved
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
Expand Down