diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-08-02 02:04:05 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-08-02 02:04:05 +0000 |
commit | 0af7398aabc8d2ae09bc46c89067cfcddb706aab (patch) | |
tree | 041ee7d02404699a83d5fa734c84ddb0b0a55c99 /etc/inc/ipsec.inc | |
parent | 5878ca478dd08bdc6e0ea23f49131595fd71af04 (diff) | |
download | pfsense-0af7398aabc8d2ae09bc46c89067cfcddb706aab.zip pfsense-0af7398aabc8d2ae09bc46c89067cfcddb706aab.tar.gz |
Remove the vpn_endpoint_determine function. It did not work properly when
CARP devices were in use. Use the newer ipsec_get_phase1_src instead.
Diffstat (limited to 'etc/inc/ipsec.inc')
-rw-r--r-- | etc/inc/ipsec.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/ipsec.inc b/etc/inc/ipsec.inc index e5cd46d..76ea0f8 100644 --- a/etc/inc/ipsec.inc +++ b/etc/inc/ipsec.inc @@ -112,6 +112,9 @@ function ipsec_get_phase1_dst(& $ph1ent) { if (!is_ipaddr($rg)) return resolve_retry($rg); + if(!is_ipaddr($rg)) + return false; + return $rg; } |