summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@cmb-macbook-pro-3.local>2009-12-19 03:45:09 -0500
committerChris Buechler <cmb@cmb-macbook-pro-3.local>2009-12-19 03:45:09 -0500
commite7c623c4587572bbebb570770c9cc394523699ef (patch)
tree3770683180d69159235a474f3bf05665ca06da9c
parenteb29fd9bbc757d84e6909b38e668975bce9040ac (diff)
downloadpfsense-e7c623c4587572bbebb570770c9cc394523699ef.zip
pfsense-e7c623c4587572bbebb570770c9cc394523699ef.tar.gz
match the interface check with the later "pass out" rule's check, so as to not generate invalid ruleset
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 08b2e92..9f6533d 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -614,7 +614,7 @@ function filter_generate_optcfg_array()
$FilterIflist['pppoe'] = $oic;
}
/* add ipsec interfaces */
- if (isset($config['ipsec']['enable'])) {
+ if (isset($config['ipsec']['enable']) || isset($config['ipsec']['mobileclients']['enable'])) {
$oic = array();
$oic['if'] = 'enc0';
$oic['descr'] = 'IPsec';
OpenPOWER on IntegriCloud