Use correct argument names

This commit is contained in:
Nico Schottelius 2019-03-14 17:06:39 +01:00
parent 3d154f0326
commit bd222a1009

View file

@ -218,14 +218,14 @@ class L2Controller(object):
log.info("NAT64 map: {} -> {} -> {}".format(nat64_prefix, v6_network, v4_network))
self.controller.table_add("v6_networks", "nat64_static", [str(nat64_prefix)],
[str(net_ipv6.network_address),
str(net_ipv4.network_address),
[str(v6_network.network_address),
str(v4_network.network_address),
str(nat64_prefix.network_address)]
)
self.controller.table_add("v4_networks", "nat46_static", [str(v4_network)],
[str(net_ipv6.network_address),
str(net_ipv4.network_address),
[str(v6_network.network_address),
str(v4_network.network_address),
str(nat64_prefix.network_address)]
)