summaryrefslogtreecommitdiff
path: root/python/vyos/qos/priority.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/qos/priority.py')
-rw-r--r--python/vyos/qos/priority.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/qos/priority.py b/python/vyos/qos/priority.py
index 72092b7ef..6d4a60a43 100644
--- a/python/vyos/qos/priority.py
+++ b/python/vyos/qos/priority.py
@@ -33,6 +33,7 @@ class Priority(QoSBase):
self._cmd(tmp)
for cls in config['class']:
+ cls = int(cls)
tmp = f'tc qdisc add dev {self._interface} parent {self._parent:x}:{cls:x} pfifo'
self._cmd(tmp)