summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/filter.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-10 14:42:33 -0200
committerRenato Botelho <renato@netgate.com>2015-11-10 14:42:33 -0200
commit1d85e9635fd9d1bd1cd8dd84ffb722677732567e (patch)
tree0a3e585a5a41d0a14a80144f725b57859f781245 /src/etc/inc/filter.inc
parentf34b7665264fd4e3e05c11fe87fbd68174030624 (diff)
downloadpfsense-1d85e9635fd9d1bd1cd8dd84ffb722677732567e.zip
pfsense-1d85e9635fd9d1bd1cd8dd84ffb722677732567e.tar.gz
Fix calls to ipsec_enabled() added in 179ab6b364
Diffstat (limited to 'src/etc/inc/filter.inc')
-rw-r--r--src/etc/inc/filter.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/inc/filter.inc b/src/etc/inc/filter.inc
index 36ab337..e33c08f 100644
--- a/src/etc/inc/filter.inc
+++ b/src/etc/inc/filter.inc
@@ -1171,6 +1171,9 @@ function filter_generate_optcfg_array() {
}
}
/* add ipsec interfaces */
+ if (!function_exists('ipsec_enabled')) {
+ require_once("ipsec.inc");
+ }
if (ipsec_enabled()) {
$oic = array();
$oic['if'] = 'enc0';
OpenPOWER on IntegriCloud