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(m.group(1)) == 0:
ValueError: invalid literal for int() with base 10: '00a0'
Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
break
m = regex.match(line)
- if m is None or int(m.group(1)) == 0:
+ if m is None or int(m.group(1), 16) == 0:
if packet != '':
print packet
packet = ''