aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authormarcelloc <marcellocoutinho@gmail.com>2011-10-28 11:39:07 -0200
committermarcelloc <marcellocoutinho@gmail.com>2011-10-28 11:39:07 -0200
commit5127beef19db06578c752f53efc9175cacba0f29 (patch)
treef99c3d052b299db730b2cc4fe469b5829a72bd47 /config
parent94d57a9f85b242766f272c4e9a1dbee7d1694b8f (diff)
downloadpfsense-packages-5127beef19db06578c752f53efc9175cacba0f29.tar.gz
pfsense-packages-5127beef19db06578c752f53efc9175cacba0f29.tar.bz2
pfsense-packages-5127beef19db06578c752f53efc9175cacba0f29.zip
pfBlocker - fix whitelist check
Diffstat (limited to 'config')
-rwxr-xr-xconfig/pf-blocker/pfblocker.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/pf-blocker/pfblocker.inc b/config/pf-blocker/pfblocker.inc
index 57c24c2d..f37676ef 100755
--- a/config/pf-blocker/pfblocker.inc
+++ b/config/pf-blocker/pfblocker.inc
@@ -246,7 +246,7 @@ function sync_package_pfblocker() {
$rules=$config['filter']['rule'];
$ifaces = $pfblocker_config['inbound_interface'];
foreach (explode(",", $ifaces) as $i => $iface) {
- if (pfb_text_area_decode($pfblocker_config['whitelist']) != ""){
+ if ($whitelist != ""){
${$iface}[0]=array("id" => "",
"type"=>"pass",
"tag"=> "",
@@ -290,7 +290,7 @@ function sync_package_pfblocker() {
}
$ifaces = $pfblocker_config['outbound_interface'];
foreach (explode(",", $ifaces) as $i => $iface) {
- if (pfb_text_area_decode($pfblocker_config['whitelist']) != ""){
+ if ($whitelist != ""){
${$iface}[2]=array( "id" => "",
"type"=>"pass",
"tag"=> "",