mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not process a rule that is attached to a disabled interface
This commit is contained in:
parent
5170d8c2bf
commit
3d24150f4b
@ -1272,6 +1272,10 @@ function generate_user_filter_rule($rule, $ngcounter) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* do not process this rule if the attached interface is disabled */
|
||||
if(!$config['interfaces'][$rule['interface']]['enable'])
|
||||
return;
|
||||
|
||||
$pptpdcfg = $config['pptpd'];
|
||||
|
||||
if ($pptpdcfg['mode'] == "server") {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user