From 3dc56677a10f7c8665b1d00417efceda8f135984 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 4 Mar 2019 14:59:44 +0100 Subject: [PATCH] derive addr from addr not dict --- p4app/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])