IP should be IPv4, but isn't
This commit is contained in:
parent
b5524b636f
commit
e1146070c4
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ class L2Controller(object):
|
|||
self.debug_print_pkg(pkg)
|
||||
cpu_header = CpuHeader(packet.payload)
|
||||
ether_orig = Ether(src=packet.src, dst=packet.dst, type=cpu_header.type)
|
||||
orig_packet = ether_orig / IPv4(cpu_header.load)
|
||||
orig_packet = ether_orig / IP(cpu_header.load)
|
||||
log.debug("v4 reassambled={}".format(orig_packet.__repr__()))
|
||||
|
||||
elif packet.type == 0x4242:
|
||||
|
|
Loading…
Reference in a new issue