diff options
author | marcelloc <marcellocoutinho@gmail.com> | 2011-10-28 11:39:07 -0200 |
---|---|---|
committer | marcelloc <marcellocoutinho@gmail.com> | 2011-10-28 11:39:07 -0200 |
commit | 5127beef19db06578c752f53efc9175cacba0f29 (patch) | |
tree | f99c3d052b299db730b2cc4fe469b5829a72bd47 /config/pf-blocker/pfblocker.inc | |
parent | 94d57a9f85b242766f272c4e9a1dbee7d1694b8f (diff) | |
download | pfsense-packages-5127beef19db06578c752f53efc9175cacba0f29.tar.gz pfsense-packages-5127beef19db06578c752f53efc9175cacba0f29.tar.bz2 pfsense-packages-5127beef19db06578c752f53efc9175cacba0f29.zip |
pfBlocker - fix whitelist check
Diffstat (limited to 'config/pf-blocker/pfblocker.inc')
-rwxr-xr-x | config/pf-blocker/pfblocker.inc | 4 |
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"=> "", |