Change action argument order

Fixing:

Invalid runtime data: Error while parsing 2001:db8::2a - Invalid input, could not cast to integer, try in hex with 0x prefix
Invalid runtime data: Error while parsing ff02::1:ff00:2a - Invalid input, could not cast to integer, try in hex with 0x prefix
Invalid runtime data: Error while parsing 2001:db8:0:1::2a - Invalid input, could not cast to integer, try in hex with 0x prefix
Invalid runtime data: Error while parsing ff02::1:ff00:2a - Invalid input, could not cast to integer, try in hex with 0x prefix
This commit is contained in:
Nico Schottelius 2019-03-04 19:02:28 +01:00
parent cb67188780
commit e51ed3ffcd

View file

@ -173,8 +173,8 @@ class L2Controller(object):
for v6addr in self.v6_addresses[self.mode]: for v6addr in self.v6_addresses[self.mode]:
icmp6_addr = self.gen_ndp_multicast_addr(v6addr) icmp6_addr = self.gen_ndp_multicast_addr(v6addr)
self.controller.table_add("v6_addresses", "controller_reply", [str(self.task['ICMP6_GENERAL'])], [str(v6addr)]) self.controller.table_add("v6_addresses", "controller_reply", [str(v6addr)], [str(self.task['ICMP6_GENERAL'])])
self.controller.table_add("v6_addresses", "controller_reply", [str(self.task['ICMP6_NS'])], [str(icmp6_addr)]) self.controller.table_add("v6_addresses", "controller_reply", [str(icmp6_addr)], [str(self.task['ICMP6_NS'])])
def config_hosts(self): def config_hosts(self):
""" Assumptions: """ Assumptions: