Use correct argument names
This commit is contained in:
parent
3d154f0326
commit
bd222a1009
1 changed files with 4 additions and 4 deletions
|
@ -218,14 +218,14 @@ class L2Controller(object):
|
||||||
log.info("NAT64 map: {} -> {} -> {}".format(nat64_prefix, v6_network, v4_network))
|
log.info("NAT64 map: {} -> {} -> {}".format(nat64_prefix, v6_network, v4_network))
|
||||||
|
|
||||||
self.controller.table_add("v6_networks", "nat64_static", [str(nat64_prefix)],
|
self.controller.table_add("v6_networks", "nat64_static", [str(nat64_prefix)],
|
||||||
[str(net_ipv6.network_address),
|
[str(v6_network.network_address),
|
||||||
str(net_ipv4.network_address),
|
str(v4_network.network_address),
|
||||||
str(nat64_prefix.network_address)]
|
str(nat64_prefix.network_address)]
|
||||||
)
|
)
|
||||||
|
|
||||||
self.controller.table_add("v4_networks", "nat46_static", [str(v4_network)],
|
self.controller.table_add("v4_networks", "nat46_static", [str(v4_network)],
|
||||||
[str(net_ipv6.network_address),
|
[str(v6_network.network_address),
|
||||||
str(net_ipv4.network_address),
|
str(v4_network.network_address),
|
||||||
str(nat64_prefix.network_address)]
|
str(nat64_prefix.network_address)]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue