mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
match the interface check with the later "pass out" rule's check, so as to not generate invalid ruleset
This commit is contained in:
parent
eb29fd9bbc
commit
e7c623c458
@ -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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user