aboutsummaryrefslogtreecommitdiffstats
path: root/config/pf-blocker
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2012-10-02 08:28:49 +0545
committerPhil Davis <phil.davis@world.inf.org>2012-10-02 08:28:49 +0545
commit96279951340656b2d54cde06b86b1f60659395b8 (patch)
tree64d6581ea13762561795d52549de795abe12e3b2 /config/pf-blocker
parent438c72341f82830b21cf4c59dad2aa480a2ca6b6 (diff)
downloadpfsense-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')
-rwxr-xr-xconfig/pf-blocker/pfblocker.inc2
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;
}
}