diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-01-09 22:32:07 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-01-09 22:32:37 +0100 |
commit | 9218ecb6e767087e95d0478ffae64729951c6cef (patch) | |
tree | af69f21a68da013d44c202b3bf476c37b5540f27 | |
parent | 57963e4baf361d58173c577c0a8231cc619f9a5d (diff) | |
download | pfsense-9218ecb6e767087e95d0478ffae64729951c6cef.zip pfsense-9218ecb6e767087e95d0478ffae64729951c6cef.tar.gz |
Let the kernel handle REQID rather than handling it manually. The connection name is the one needed here.
-rw-r--r-- | etc/inc/vpn.inc | 2 |
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(); |