Debug send ipv4 packets to controller
This commit is contained in:
parent
b7b3e97302
commit
236bd8e7d6
3 changed files with 9 additions and 8 deletions
|
|
@ -421,12 +421,12 @@ class L2Controller(object):
|
|||
def recv_msg_cpu(self, pkg):
|
||||
packet = Ether(str(pkg))
|
||||
|
||||
# self.debug_print_pkg(pkg)
|
||||
|
||||
|
||||
if packet.type == 0x0800:
|
||||
pass
|
||||
elif packet.type == 0x86dd:
|
||||
pass
|
||||
self.debug_print_pkg(pkg)
|
||||
elif packet.type == 0x4242:
|
||||
cpu_header = CpuHeader(packet.payload)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue