Use correct generator
This commit is contained in:
parent
56c09f1fda
commit
0ad6fa9a36
1 changed files with 2 additions and 2 deletions
|
@ -128,9 +128,9 @@ class L2Controller(object):
|
||||||
for mode in ["range_router"]:
|
for mode in ["range_router"]:
|
||||||
for v6_net in self.v6_routes[mode]:
|
for v6_net in self.v6_routes[mode]:
|
||||||
# This is a /64
|
# This is a /64
|
||||||
v6_dst_base = self.info['v6_nat64_base'].next()
|
v6_dst_base = self.info['v6_nat64_gen'].next()
|
||||||
|
|
||||||
# This is a /96xs!
|
# This is a /96 -> the first /96 inside the /64
|
||||||
v6_dst = v6_dst_base.subnets(new_prefix=self.info['v6_nat64_mask']).next()
|
v6_dst = v6_dst_base.subnets(new_prefix=self.info['v6_nat64_mask']).next()
|
||||||
|
|
||||||
for v4_net in self.v4_routes[mode]:
|
for v4_net in self.v4_routes[mode]:
|
||||||
|
|
Loading…
Reference in a new issue