summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-01-09 22:32:07 +0100
committerErmal LUÇI <eri@pfsense.org>2015-01-09 22:32:26 +0100
commite8cb8b293719fcd62bd345bc51fc68aa82123b8d (patch)
tree705eba47fdb47caf9ceaa2eb713e3989fc9973a7 /etc/inc/vpn.inc
parent526e6c06f86ab81f20781e2c7655704d3790d581 (diff)
downloadpfsense-e8cb8b293719fcd62bd345bc51fc68aa82123b8d.zip
pfsense-e8cb8b293719fcd62bd345bc51fc68aa82123b8d.tar.gz
Let the kernel handle REQID rather than handling it manually. The connection name is the one needed here.
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 99016db..dac49bc 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -860,7 +860,6 @@ EOD;
$ipsecfin = '';
foreach ($rightsubnet_spec as $idx => $rsubnet) {
$ipsecfin .= "\nconn con{$ph1ent['ikeid']}00{$idx}\n";
- $ipsecfin .= "\treqid = {$ikeid}\n";
$ipsecfin .= $ipsecconnect;
$ipsecfin .= "\trightsubnet = {$rsubnet}\n";
$ipsecfin .= "\tleftsubnet = " . $leftsubnet_spec[$idx] . "\n";
@@ -869,7 +868,6 @@ EOD;
log_error("No phase2 specifications for tunnel with REQID = {$ikeid}");
} else {
$ipsecfin = "\nconn con{$ph1ent['ikeid']}\n";
- $ipsecfin .= "\treqid = {$ikeid}\n";
$ipsecfin .= $ipsecconnect;
if (!empty($rightsubnet_spec)) {
$tempsubnets = array();
OpenPOWER on IntegriCloud