diff options
author | Phil Davis <phil.davis@world.inf.org> | 2012-10-02 08:28:49 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2012-10-02 08:28:49 +0545 |
commit | 96279951340656b2d54cde06b86b1f60659395b8 (patch) | |
tree | 64d6581ea13762561795d52549de795abe12e3b2 /config/pf-blocker/pfblocker.inc | |
parent | 438c72341f82830b21cf4c59dad2aa480a2ca6b6 (diff) | |
download | pfsense-packages-96279951340656b2d54cde06b86b1f60659395b8.tar.gz pfsense-packages-96279951340656b2d54cde06b86b1f60659395b8.tar.bz2 pfsense-packages-96279951340656b2d54cde06b86b1f60659395b8.zip |
Fix equals check for pfblocker rule loading
Sorry guys - I missed out an equals sign here, the logic ended up only applying rules to the first interface, and not for others.
Diffstat (limited to 'config/pf-blocker/pfblocker.inc')
-rwxr-xr-x | config/pf-blocker/pfblocker.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/pf-blocker/pfblocker.inc b/config/pf-blocker/pfblocker.inc index 24ffa5b9..1c107dc4 100755 --- a/config/pf-blocker/pfblocker.inc +++ b/config/pf-blocker/pfblocker.inc @@ -483,7 +483,7 @@ function sync_package_pfblocker($cron="") { # top of the list for each interface, after any built-in rules (e.g. anti-lockout) $found_new_interface = TRUE; foreach ($interfaces_processed as $processed_interface){ - if ($processed_interface = $rule['interface']){ + if ($processed_interface == $rule['interface']){ $found_new_interface = FALSE; } } |