summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-12-19 21:25:30 +0100
committerErmal LUÇI <eri@pfsense.org>2014-12-19 21:25:30 +0100
commit41c4ef39fde2bbee8ec7f386bcc31cb685d31d84 (patch)
treec2f5a1422b91290320fa83f3b0f826429a83466d /etc/inc
parent7c2a9397eb2ce8a45f9d8618362c762500cc9045 (diff)
downloadpfsense-41c4ef39fde2bbee8ec7f386bcc31cb685d31d84.zip
pfsense-41c4ef39fde2bbee8ec7f386bcc31cb685d31d84.tar.gz
Correct the leftsubnet specification for transport mode.
Diffstat (limited to 'etc/inc')
-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 bb399cf..2e59743 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -714,7 +714,7 @@ EOD;
$left_spec = "%any";
} else {
$tmpsubnet = ipsec_get_phase1_src($ph1ent);
- if ($leftsubnet_spec[$tmpsubnet])
+ if (empty($leftsubnet_spec[$tmpsubnet]))
$leftsubnet_spec[$tmpsubnet] = $tmpsubnet;
}
OpenPOWER on IntegriCloud