++debug
This commit is contained in:
parent
5bcf328509
commit
46b0f16f0d
1 changed files with 3 additions and 8 deletions
|
@ -233,15 +233,10 @@ class L2Controller(object):
|
||||||
elif packet.type == 0x86dd:
|
elif packet.type == 0x86dd:
|
||||||
pass
|
pass
|
||||||
elif packet.type == 0x4242:
|
elif packet.type == 0x4242:
|
||||||
|
print("Special handling needed")
|
||||||
cpu_header = CpuHeader(packet.payload)
|
cpu_header = CpuHeader(packet.payload)
|
||||||
original_pkg = pkg[0:111]
|
print("cpu = {}".format(cpu_header.__repr__()))
|
||||||
|
print("orig = {}".format(pkg))
|
||||||
pass
|
|
||||||
elif packet.type == 0x2323:
|
|
||||||
# Set back (incorrectly maybe) to IPv6
|
|
||||||
packet.type = 0x86dd
|
|
||||||
print("Debug pkg: ".format(packet))
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print("Broken pkg: {}".format(pkg.__repr__()))
|
print("Broken pkg: {}".format(pkg.__repr__()))
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue