summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-02-02 20:36:42 +0100
committerErmal LUÇI <eri@pfsense.org>2015-02-02 20:36:42 +0100
commit034a23f0ab3eb765eba53f44ec256272b3e80b17 (patch)
treef18c22a913ad9b3fd2cc6903cd2f9b464eaec348
parent4520b2d2b70caa48813f73f89ef5b9c942ea5b25 (diff)
downloadpfsense-034a23f0ab3eb765eba53f44ec256272b3e80b17.zip
pfsense-034a23f0ab3eb765eba53f44ec256272b3e80b17.tar.gz
Allow IPseec clients to properly connect and not stomp over each other. Reported-by https://forum.pfsense.org/index.php?topic=87980.0
-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 e50da85..c5e59f0 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -978,7 +978,7 @@ EOD;
if (!empty($reqids[$idx]))
$ipsecfin .= "\treqid = " . $reqids[0] . "\n";
$ipsecfin .= $ipsecconnect;
- if (!empty($rightsubnet_spec)) {
+ if (!isset($ph1ent['mobile']) && !empty($rightsubnet_spec)) {
$tempsubnets = array();
foreach ($rightsubnet_spec as $rightsubnet)
$tempsubnets[$rightsubnet] = $rightsubnet;
OpenPOWER on IntegriCloud