|
@@ -95,7 +95,7 @@ class VPNConfiguration(CoinLdapSyncMixin, Configuration):
|
|
|
subnets_v6 = [s for s in subnets if s.inet.version == 6]
|
|
|
if len(subnets_v6) > 0:
|
|
|
# With v6, we choose the second host of the subnet (cafe::1)
|
|
|
- net = subnets_v6[0].inet
|
|
|
+ inet = subnets_v6[0].inet
|
|
|
if inet.prefixlen != 128:
|
|
|
gen = inet.iter_hosts()
|
|
|
gen.next()
|