diff --git a/p4app/controller.py b/p4app/controller.py index 31916ce..428d2b0 100755 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -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: