summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-04-23 20:16:37 +0200
committerErmal LUÇI <eri@pfsense.org>2015-04-23 20:16:37 +0200
commit2334aff978526dae574d5cc40ba7b6afa1846fd1 (patch)
tree7b4829a5294af6ac4335348a497e903d70b73e9e /etc
parentbc28e0e4b2c8feb0b53e202c855b1bee8043648e (diff)
downloadpfsense-2334aff978526dae574d5cc40ba7b6afa1846fd1.zip
pfsense-2334aff978526dae574d5cc40ba7b6afa1846fd1.tar.gz
This was meant to remove duplicates here, even though charon will do by itself but better do it since it was meant to.
Diffstat (limited to 'etc')
-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