summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBBcan177 <bbcan177@gmail.com>2016-08-23 11:18:37 -0400
committerRenato Botelho <garga@FreeBSD.org>2016-08-23 12:24:40 -0300
commit12a028ff726e0efa98611df990181d1258841ae4 (patch)
tree8bf78e2a785d288cb6bf93c96ec083176a9d79e4
parent14a4e44f4166b37e6d21417f74fb37ea2069cd93 (diff)
downloadFreeBSD-ports-12a028ff726e0efa98611df990181d1258841ae4.zip
FreeBSD-ports-12a028ff726e0efa98611df990181d1258841ae4.tar.gz
Update pfblockerng.inc
(cherry picked from commit 41587c1f1f01ab4a97b6a2718b248b3fa0752002)
-rw-r--r--net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng/pfblockerng.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng/pfblockerng.inc b/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng/pfblockerng.inc
index 6d912f6..6ded7a8 100644
--- a/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng/pfblockerng.inc
+++ b/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng/pfblockerng.inc
@@ -346,9 +346,16 @@ function pfb_logger($log, $logtype) {
// Print to screen and Extras log
} elseif ($logtype == 4) {
+
+ // Print to screen
if (!$g['pfblockerng_install'] && !$pfb['extras_update']) {
print "{$log}";
}
+
+ // Print to Installation window
+ if ($g['pfblockerng_install']) {
+ update_status("{$log}");
+ }
@file_put_contents("{$pfb['extraslog']}", "{$log}", FILE_APPEND);
// Print to pfBlockerNG log
OpenPOWER on IntegriCloud