summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/filter_log.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-08-16 14:15:56 +0930
committerPhil Davis <phil.davis@inf.org>2016-08-16 14:15:56 +0930
commit9d3e8723171c727cf43338bd8e95ab2bb7e6a66c (patch)
tree0c6bfba9d9404fc5d0adeb954268090ab82f56bc /src/etc/inc/filter_log.inc
parent0ed3b15981b4451efb11839d6ee7b9acf1ed1d84 (diff)
downloadpfsense-9d3e8723171c727cf43338bd8e95ab2bb7e6a66c.zip
pfsense-9d3e8723171c727cf43338bd8e95ab2bb7e6a66c.tar.gz
Code style and comments
No functional change - just making style consistent
Diffstat (limited to 'src/etc/inc/filter_log.inc')
-rw-r--r--src/etc/inc/filter_log.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/filter_log.inc b/src/etc/inc/filter_log.inc
index 8690ee0..bd91d6e 100644
--- a/src/etc/inc/filter_log.inc
+++ b/src/etc/inc/filter_log.inc
@@ -223,7 +223,7 @@ function parse_vpn_login_log_line($line) {
if (!( (trim($flent['time']) == "") && (trim($flent['action']) == "") && (trim($flent['user']) == "") && (trim($flent['ip_address']) == "") )) {
return $flent;
} else {
- if($g['debug']) {
+ if ($g['debug']) {
log_error(sprintf(gettext("There was a error parsing log entry: %s. Please report to mailing list or forum."), $line));
}
return "";
@@ -245,7 +245,7 @@ function parse_vpn_service_log_line($line) {
if (!( (trim($flent['time']) == "") && (trim($flent['type']) == "") && (trim($flent['message']) == "") )) {
return $flent;
} else {
- if($g['debug']) {
+ if ($g['debug']) {
log_error(sprintf(gettext("There was a error parsing log entry: %s. Please report to mailing list or forum."), $line));
}
return "";
OpenPOWER on IntegriCloud