Keep packet type correct for multicast / ndp

This commit is contained in:
Nico Schottelius 2019-03-04 14:27:12 +01:00
commit 6f83eeddb2
2 changed files with 16 additions and 14 deletions

View file

@ -150,7 +150,7 @@ class L2Controller(object):
self.controller.table_add("v6_networks", "set_egress_port", [net], [v6route['port']])
net = str(self.info['ndp_multicast'])
self.controller.table_add("v6_networks", "controller_debug", [net])
self.controller.table_add("v6_networks", "controller_reply", [net])
self.controller.table_clear("v4_routing")
@ -230,10 +230,12 @@ class L2Controller(object):
pass
elif packet.type == 0x86dd:
pass
elif packet.type == 0x4242:
print("Special handling needed")
pass
elif packet.type == 0x2323:
print("Debug pkg")
pass
else:
print("Broken pkg: {}".format(pkg.__repr__()))
return