aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-10-01 19:58:06 -0700
committerMarcello Coutinho <marcellocoutinho@gmail.com>2012-10-01 19:58:06 -0700
commit7ce86e7209743c52cfb7bf1813aa9ba092bed339 (patch)
tree64d6581ea13762561795d52549de795abe12e3b2
parent438c72341f82830b21cf4c59dad2aa480a2ca6b6 (diff)
parent96279951340656b2d54cde06b86b1f60659395b8 (diff)
downloadpfsense-packages-7ce86e7209743c52cfb7bf1813aa9ba092bed339.tar.gz
pfsense-packages-7ce86e7209743c52cfb7bf1813aa9ba092bed339.tar.bz2
pfsense-packages-7ce86e7209743c52cfb7bf1813aa9ba092bed339.zip
Merge pull request #325 from phil-davis/master
Fix equals check for pfblocker rule loading
-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;
}
}