summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/diag_logs_filter.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_filter.php b/usr/local/www/diag_logs_filter.php
index 58faac2..7ba25c4 100755
--- a/usr/local/www/diag_logs_filter.php
+++ b/usr/local/www/diag_logs_filter.php
@@ -72,6 +72,8 @@ function conv_clog($logfile, $tail = 50) {
if($log_split[5] == "")
preg_match("/(.*)\s(.*)\spf:.*rule.*\(match\):\s(\w+)\sin\son\s(\w+:)\s([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\s([\<|\>])\s([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}):.*/",$logent,$log_split);
+ $logent = strtoupper($logent);
+
$do_not_display = false;
if(stristr($logent, "UDP") == true)
$flent['proto'] = "UDP";
OpenPOWER on IntegriCloud