diff --git a/p4app/controller.py b/p4app/controller.py index 268250b..353691e 100644 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -167,7 +167,7 @@ class L2Controller(object): self.controller.table_clear("v6_addresses") for v6addr in self.v6_addresses[self.mode]: - icmp6_addr = str(self.gen_ndp_multicast_addr(v6addr)) + icmp6_addr = str(self.gen_ndp_multicast_addr(v6addr['addr'])) self.controller.table_add("v6_addresses", "controller_reply", [v6addr['addr']]) self.controller.table_add("v6_addresses", "controller_reply", [icmp6_addr])