diff options
author | Ermal <eri@pfsense.org> | 2012-11-19 10:38:38 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-11-19 10:38:38 +0000 |
commit | d2b9afa5d9e4d48675c2c2744f8e15aae4bdd9f1 (patch) | |
tree | 6044f9c27a504bf5e33bef3fc10d1d193213ae8d | |
parent | c9891afef6529f8ed3161d1733dbce599077e5d0 (diff) | |
download | pfsense-d2b9afa5d9e4d48675c2c2744f8e15aae4bdd9f1.zip pfsense-d2b9afa5d9e4d48675c2c2744f8e15aae4bdd9f1.tar.gz |
Correct check to required function
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 1499503..4bdea31 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -3194,7 +3194,7 @@ function filter_generate_ipsec_rules() { continue; /* determine local and remote peer addresses */ if(!isset($ph1ent['mobile'])) { - if (!function_exists('ipsec_idinfo_to_cidr')) + if (!function_exists('ipsec_get_phase1_dst')) require_once("ipsec.inc"); $rgip = ipsec_get_phase1_dst($ph1ent); if(!$rgip) { |