From d1433c3e0b608fa9019f943557cbdbc9068047ff Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 4 Mar 2019 14:11:55 +0100 Subject: [PATCH] [icmp6] don' iterate over multicast network --- p4app/controller.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/p4app/controller.py b/p4app/controller.py index a1f13e6..89bbec2 100644 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -149,9 +149,8 @@ class L2Controller(object): net = self.prefix_to_net(v6route['net'], self.v6_mask) self.controller.table_add("v6_networks", "set_egress_port", [net], [v6route['port']]) - for v6net in self.info['ndp_multicast']: - net = str(v6net) - self.controller.table_add("v6_networks", "controller_reply", [net]) + net = str(self.info['ndp_multicast']) + self.controller.table_add("v6_networks", "controller_reply", [net]) self.controller.table_clear("v4_routing")