This commit is contained in:
Nico Schottelius 2019-03-04 16:40:05 +01:00
parent 5bcf328509
commit 46b0f16f0d

View file

@ -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