[icmp6] don' iterate over multicast network

This commit is contained in:
Nico Schottelius 2019-03-04 14:11:55 +01:00
parent 03ffe73957
commit d1433c3e0b

View file

@ -149,9 +149,8 @@ class L2Controller(object):
net = self.prefix_to_net(v6route['net'], self.v6_mask) net = self.prefix_to_net(v6route['net'], self.v6_mask)
self.controller.table_add("v6_networks", "set_egress_port", [net], [v6route['port']]) self.controller.table_add("v6_networks", "set_egress_port", [net], [v6route['port']])
for v6net in self.info['ndp_multicast']: net = str(self.info['ndp_multicast'])
net = str(v6net) self.controller.table_add("v6_networks", "controller_reply", [net])
self.controller.table_add("v6_networks", "controller_reply", [net])
self.controller.table_clear("v4_routing") self.controller.table_clear("v4_routing")