Commit cb12f42d authored by Aaron Conole's avatar Aaron Conole Committed by Ben Pfaff

ovs-tcpundump: fix a conversion issue

When I tried using ovs-tcpundump, I got the following error message:
Traceback (most recent call last):
  File ./ovs-tcpundump, line 64, in <module>
    if m is None or int( == 0:
ValueError: invalid literal for int() with base 10: '00a0'
Signed-off-by: default avatarAaron Conole <>
Signed-off-by: default avatarBen Pfaff <>
parent 1fc2e1bd
......@@ -61,7 +61,7 @@ if __name__ == "__main__":
m = regex.match(line)
if m is None or int( == 0:
if m is None or int(, 16) == 0:
if packet != '':
print packet
packet = ''
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