aboutsummaryrefslogtreecommitdiffstats
path: root/config/pfblockerng/pfblockerng.php
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-12-04 12:18:54 +0100
committerdoktornotor <notordoktor@gmail.com>2015-12-04 12:18:54 +0100
commit7c72eb8617c3ba3d1e55f118d8fd04ed98bef8ad (patch)
tree35b228efaa94ad86acccd215a82f32b1ffdc5d22 /config/pfblockerng/pfblockerng.php
parent7039bd10d12d81879d7a1c03d4e4cd5fa3aab938 (diff)
downloadpfsense-packages-7c72eb8617c3ba3d1e55f118d8fd04ed98bef8ad.tar.gz
pfsense-packages-7c72eb8617c3ba3d1e55f118d8fd04ed98bef8ad.tar.bz2
pfsense-packages-7c72eb8617c3ba3d1e55f118d8fd04ed98bef8ad.zip
Fix check so that Alexa list is not downloaded when disabled
Diffstat (limited to 'config/pfblockerng/pfblockerng.php')
-rw-r--r--config/pfblockerng/pfblockerng.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/pfblockerng/pfblockerng.php b/config/pfblockerng/pfblockerng.php
index d71fdff8..8a368d2e 100644
--- a/config/pfblockerng/pfblockerng.php
+++ b/config/pfblockerng/pfblockerng.php
@@ -108,7 +108,7 @@ if (in_array($argv[1], array('update', 'updateip', 'updatednsbl', 'dc', 'bu', 'u
}
// Skip Alexa update, if disabled
- if ($pfb['dnsbl_alexa'] == 'Disabled') {
+ if ($pfb['dnsbl_alexa'] != 'on') {
unset($pfb['extras'][5]);
}
@@ -1547,4 +1547,4 @@ EOF;
// Unset arrays
unset ($roptions4, $et_options, $xmlrep);
}
-?> \ No newline at end of file
+?>