Shift payload / ipv6 in cpu packet

This commit is contained in:
Nico Schottelius 2019-03-04 18:15:00 +01:00
parent bc63f5edcf
commit 7ff09db32a

View file

@ -250,7 +250,7 @@ class L2Controller(object):
ether_orig = Ether(src=packet.src, dst=packet.dst, type=0x86dd)
orig_packet = ether_orig / IPv6(packet.load[3:])
orig_packet = ether_orig / IPv6(packet.load[5:])
log.debug("o={}".format(orig_packet.__repr__()))