diff options
author | jim-p <jimp@pfsense.org> | 2011-06-27 14:06:33 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-06-27 14:06:33 -0400 |
commit | 8a385f42742b9f1da57f53639436f7bea0c5ada1 (patch) | |
tree | 942e8ad24b27423f5ccc418fb3be4721f954f9b2 /etc/inc/ipsec.inc | |
parent | 84296ca3f75378ae027cd2030d41cc41d68fc901 (diff) | |
parent | 2f3554bba15ceabca965aabb6c9cc3b4e33e88d4 (diff) | |
download | pfsense-8a385f42742b9f1da57f53639436f7bea0c5ada1.zip pfsense-8a385f42742b9f1da57f53639436f7bea0c5ada1.tar.gz |
Merge remote branch 'upstream/master'
Diffstat (limited to 'etc/inc/ipsec.inc')
-rw-r--r-- | etc/inc/ipsec.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/ipsec.inc b/etc/inc/ipsec.inc index 7303dcf..aa04430 100644 --- a/etc/inc/ipsec.inc +++ b/etc/inc/ipsec.inc @@ -152,7 +152,8 @@ function ipsec_get_phase1_src(& $ph1ent) { */ function ipsec_get_phase1_dst(& $ph1ent) { global $g; - + if (!$ph1ent['remote-gateway']) + return false; $rg = $ph1ent['remote-gateway']; if (!is_ipaddr($rg)) { if(! $g['booting']) |