diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-31 16:23:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-31 16:23:06 +0000 |
commit | 3d24150f4b01ea8700d82e68afdc09fa4f11ca46 (patch) | |
tree | f42fdeb5d0863c2302a670dccd485d0730025d43 /etc | |
parent | 5170d8c2bfa99f1afacfef6c8a78463636e0e990 (diff) | |
download | pfsense-3d24150f4b01ea8700d82e68afdc09fa4f11ca46.zip pfsense-3d24150f4b01ea8700d82e68afdc09fa4f11ca46.tar.gz |
Do not process a rule that is attached to a disabled interface
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index b73cbbd..709551c 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -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") { |