derive addr from addr not dict
This commit is contained in:
parent
7c3cb5a368
commit
3dc56677a1
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class L2Controller(object):
|
||||||
|
|
||||||
self.controller.table_clear("v6_addresses")
|
self.controller.table_clear("v6_addresses")
|
||||||
for v6addr in self.v6_addresses[self.mode]:
|
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", [v6addr['addr']])
|
||||||
self.controller.table_add("v6_addresses", "controller_reply", [icmp6_addr])
|
self.controller.table_add("v6_addresses", "controller_reply", [icmp6_addr])
|
||||||
|
|
Loading…
Reference in a new issue