diff options
author | Ermal LUÇI <eri@pfsense.org> | 2014-12-19 21:25:30 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2014-12-19 21:25:30 +0100 |
commit | 41c4ef39fde2bbee8ec7f386bcc31cb685d31d84 (patch) | |
tree | c2f5a1422b91290320fa83f3b0f826429a83466d /etc/inc | |
parent | 7c2a9397eb2ce8a45f9d8618362c762500cc9045 (diff) | |
download | pfsense-41c4ef39fde2bbee8ec7f386bcc31cb685d31d84.zip pfsense-41c4ef39fde2bbee8ec7f386bcc31cb685d31d84.tar.gz |
Correct the leftsubnet specification for transport mode.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/vpn.inc | 2 |
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; } |