Fixes: 7a9a8585c6f4 ("Task: add interface to work with bridge FDB
entries")
Signed-off-by: Ido Schimmel <idosch(a)mellanox.com>
---
lnst/Slave/BridgeTool.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Slave/BridgeTool.py b/lnst/Slave/BridgeTool.py
index af810f9..e583918 100644
--- a/lnst/Slave/BridgeTool.py
+++ b/lnst/Slave/BridgeTool.py
@@ -78,7 +78,7 @@ class BridgeTool:
if match:
hwaddr = match.groups()[0]
match = re.match(r'.*\s+vlan (\d+)', line)
- vlan_id = match.groups()[0] if match else 0
+ vlan_id = int(match.groups()[0]) if match else 0
self = True if re.match(r'.*\s+self', line) else False
master = True if re.match(r'.*\s+master', line) else False
offload = True if re.match(r'.*\s+offload', line) else False
--
2.4.10