This commit is contained in:
Nico Schottelius 2019-03-04 18:38:08 +01:00
parent 816f11c864
commit 6c1da54035
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class L2Controller(object):
shift_by = (bits/8) -1
log.debug("Len of cpu= {}, {}, shift={}".format(bits, bits/8, shift_by)
log.debug("Len of cpu= {}, {}, shift={}".format(bits, bits/8, shift_by))
ether_orig = Ether(src=packet.src, dst=packet.dst, type=0x86dd)
orig_packet = ether_orig / IPv6(packet.load[shift_by:])