summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBBcan177 <bbcan177@gmail.com>2016-08-21 22:20:10 -0400
committerRenato Botelho <garga@FreeBSD.org>2016-08-23 10:40:52 -0300
commit52de5e9cfa95bc883b3807a499907ab6a6babdb3 (patch)
tree6aa68db9ae353b29a9e391d484290f8083ddbe8a
parent512a9afdeb78706a84837ee87c206e2a17e739af (diff)
downloadFreeBSD-ports-52de5e9cfa95bc883b3807a499907ab6a6babdb3.zip
FreeBSD-ports-52de5e9cfa95bc883b3807a499907ab6a6babdb3.tar.gz
Update pfblockerng.php
(cherry picked from commit b570a966ad2f049d42595f7a9a7f355b2930183c)
-rw-r--r--net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng.php b/net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng.php
index 26b069e..e89687c 100644
--- a/net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng.php
+++ b/net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng.php
@@ -740,9 +740,6 @@ function pfblockerng_get_countries() {
// Process the following for IPv4 and IPv6
foreach (array('4', '6') as $type) {
- $log = " IPv{$type} {$cont}{$tab} [ NOW ]\n";
- pfb_logger("{$log}", 4);
-
$cont_length = strlen($cont);
if ($cont_length < 8) {
$tab = "\t\t\t";
@@ -752,6 +749,9 @@ function pfblockerng_get_countries() {
$tab = "\t";
}
+ $log = " IPv{$type} {$cont}{$tab} [ NOW ]\n";
+ pfb_logger("{$log}", 4);
+
if ($type == '6') {
$file = str_replace('v4', 'v6', $file);
}
OpenPOWER on IntegriCloud