summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 1608f77..93e1976 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -1100,7 +1100,7 @@ EOD;
$tempsubnets = array();
foreach ($leftsubnet_spec as $leftsubnet)
$tempsubnets[$leftsubnet] = $leftsubnet;
- $ipsecfin .= "\tleftsubnet = " . join(",", $leftsubnet_spec) . "\n";
+ $ipsecfin .= "\tleftsubnet = " . join(",", $tempsubnets) . "\n";
unset($tempsubnets, $leftsubnet);
}
}
OpenPOWER on IntegriCloud