diff options
author | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-10-01 19:58:06 -0700 |
---|---|---|
committer | Marcello Coutinho <marcellocoutinho@gmail.com> | 2012-10-01 19:58:06 -0700 |
commit | 7ce86e7209743c52cfb7bf1813aa9ba092bed339 (patch) | |
tree | 64d6581ea13762561795d52549de795abe12e3b2 /config | |
parent | 438c72341f82830b21cf4c59dad2aa480a2ca6b6 (diff) | |
parent | 96279951340656b2d54cde06b86b1f60659395b8 (diff) | |
download | pfsense-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
Diffstat (limited to 'config')
-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; } } |