This commit is contained in:
Nico Schottelius 2019-03-04 16:40:05 +01:00
parent 5bcf328509
commit 46b0f16f0d
1 changed files with 3 additions and 8 deletions

View File

@ -233,15 +233,10 @@ class L2Controller(object):
elif packet.type == 0x86dd:
pass
elif packet.type == 0x4242:
print("Special handling needed")
cpu_header = CpuHeader(packet.payload)
original_pkg = pkg[0:111]
pass
elif packet.type == 0x2323:
# Set back (incorrectly maybe) to IPv6
packet.type = 0x86dd
print("Debug pkg: ".format(packet))
print("cpu = {}".format(cpu_header.__repr__()))
print("orig = {}".format(pkg))
else:
print("Broken pkg: {}".format(pkg.__repr__()))
return