summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBBcan177 <bbcan177@gmail.com>2016-08-22 00:03:15 -0400
committerRenato Botelho <garga@FreeBSD.org>2016-08-23 10:40:59 -0300
commit8f8525fd20ae0d2b5a000b4f65ba4bb1a943e0ac (patch)
treec2ea7e04bbbf14236c78c7a95b0a033b539360ff
parentb7d9168c291fd543487355788f71c3c14e3b0d53 (diff)
downloadFreeBSD-ports-8f8525fd20ae0d2b5a000b4f65ba4bb1a943e0ac.zip
FreeBSD-ports-8f8525fd20ae0d2b5a000b4f65ba4bb1a943e0ac.tar.gz
Update pfblockerng.php
(cherry picked from commit bd105af23b6d91aea8b160336d59d3af932f24bb)
-rw-r--r--net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng.php2
1 files changed, 1 insertions, 1 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 ec33816..d5a84a5 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
@@ -823,7 +823,7 @@ function pfblockerng_get_countries() {
// Save last EOF ISO IP data
if ($linenum == $lastline) {
- // Don't collect Countries with null data
+ // Create placeholder for null ISO Data or 'undefined ISO Represented'
if (strpos($line, 'Total Networks: 0') !== FALSE ||
($type == '4' && strpos($line, 'Total Networks: NA') !== FALSE)) {
@file_put_contents("{$pfb['ccdir']}/{$isocode}_v{$type}.txt", '', LOCK_EX);
OpenPOWER on IntegriCloud