This commit is contained in:
Nico Schottelius 2019-03-04 18:39:09 +01:00
parent 6c1da54035
commit 9771591a9d

View file

@ -243,7 +243,7 @@ class L2Controller(object):
log.debug("CPU packet") log.debug("CPU packet")
cpu_header = CpuHeader(packet.payload) cpu_header = CpuHeader(packet.payload)
log.debug("cpu = {} {}".format(cpu_header.__repr__())) log.debug("cpu = {}".format(cpu_header.__repr__()))
ether_part = pkg[Ether] ether_part = pkg[Ether]
ether_part.type = cpu_header.type ether_part.type = cpu_header.type