Improve controller robustness
This commit is contained in:
parent
28b2bc46f2
commit
1b59727708
1 changed files with 2 additions and 2 deletions
|
@ -232,11 +232,11 @@ class L2Controller(object):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
elif packet.type == 0x4242:
|
elif packet.type == 0x4242:
|
||||||
# CPU header included
|
! # CPU header included
|
||||||
print("Special handling needed")
|
print("Special handling needed")
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
print("Broken pkg: {}".format(pkg))
|
print("Broken pkg: {}".format(pkg.__repr__()))
|
||||||
return
|
return
|
||||||
|
|
||||||
def run_cpu_port_loop(self):
|
def run_cpu_port_loop(self):
|
||||||
|
|
Loading…
Reference in a new issue