diff options
author | Ermal LUÇI <eri@pfsense.org> | 2014-12-19 21:24:48 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2014-12-19 21:24:48 +0100 |
commit | 85ea799e8cb4f1b60937c83a79d27e0e021dac82 (patch) | |
tree | 8d18f4c84c3fb3380ce9b8c93a4077b50e22c82c | |
parent | 1bd77f262e5e1ad2179d23146e37c359c65a14af (diff) | |
download | pfsense-85ea799e8cb4f1b60937c83a79d27e0e021dac82.zip pfsense-85ea799e8cb4f1b60937c83a79d27e0e021dac82.tar.gz |
Correct the leftsubnet specification for transport mode.
-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 c8a2648..c944925 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -715,7 +715,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; } |