Commit d171a3d3 authored by Martín Ferrari's avatar Martín Ferrari

index should be int

parent bf0e2cc7
......@@ -16,7 +16,7 @@ def process_ipcmd(str):
if match != None:
cur = match.group(2)
out[cur] = {
'idx': match.group(1),
'idx': int(match.group(1)),
'flags': match.group(3).split(","),
'mtu': int(match.group(4)),
'qdisc': match.group(5),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment