aboutsummaryrefslogtreecommitdiffstats
path: root/config/pf-blocker
diff options
context:
space:
mode:
Diffstat (limited to 'config/pf-blocker')
-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"=> "",