Improve controller robustness

This commit is contained in:
Nico Schottelius 2019-03-04 14:24:02 +01:00
parent 28b2bc46f2
commit 1b59727708

View file

@ -232,11 +232,11 @@ class L2Controller(object):
pass
elif packet.type == 0x4242:
# CPU header included
! # CPU header included
print("Special handling needed")
pass
else:
print("Broken pkg: {}".format(pkg))
print("Broken pkg: {}".format(pkg.__repr__()))
return
def run_cpu_port_loop(self):