diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-07 21:26:29 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-07 21:26:29 +0000 |
commit | 74ebe528152ae1344f3185beabf88f38ef503826 (patch) | |
tree | d0f2ad14af3c4da2101056c61f423d67e40c818c | |
parent | 29bb9ce0403f3aa21d10b4dc01e81719dcaf0d41 (diff) | |
download | pfsense-74ebe528152ae1344f3185beabf88f38ef503826.zip pfsense-74ebe528152ae1344f3185beabf88f38ef503826.tar.gz |
Uppercase string
-rwxr-xr-x | usr/local/www/diag_logs_filter.php | 2 |
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"; |