diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-06 01:38:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-06 01:38:02 +0000 |
commit | 07c2f7612aaf49419adde542ef8b8f7fa6db61aa (patch) | |
tree | dec5ad43d044fd96f0ce150bca87e80cc5f183c2 /usr/local | |
parent | 093c4c13735136da12311f671e7ed3868cb5e5d1 (diff) | |
download | pfsense-07c2f7612aaf49419adde542ef8b8f7fa6db61aa.zip pfsense-07c2f7612aaf49419adde542ef8b8f7fa6db61aa.tar.gz |
Update REGEX to match -v behavior
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/diag_logs_filter_dynamic.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/diag_logs_filter_dynamic.php b/usr/local/www/diag_logs_filter_dynamic.php index 55d1c03..0e9591a 100755 --- a/usr/local/www/diag_logs_filter_dynamic.php +++ b/usr/local/www/diag_logs_filter_dynamic.php @@ -48,7 +48,7 @@ if ($_POST['clear']) { } /* format filter logs */ -function conv_clog($logfile, $tail = 50) { +function conv_clog_filter($logfile, $tail = 50) { global $config; /* make interface/port table */ @@ -121,7 +121,7 @@ function conv_clog($logfile, $tail = 50) { $counter++; $filterlog[] = $flent; - + } return $filterlog; @@ -146,7 +146,7 @@ function format_ipf_ip($ipfip) { return $ip . ", port " . $port; } -$filterlog = conv_clog($filter_logfile, $nentries); +$filterlog = conv_clog_filter($filter_logfile, $nentries); $pgtitle = "Diagnostics: System logs: Firewall"; include("head.inc"); @@ -407,7 +407,7 @@ function handle_ajax() { * can update AJAX interface screen. */ $new_rules = ""; - $filterlog = conv_clog($filter_logfile, 50); + $filterlog = conv_clog_filter($filter_logfile, 50); foreach($filterlog as $log_row) { $time_regex = ""; preg_match("/.*([0-9][0-9]:[0-9][0-9]:[0-9][0-9])/", $log_row['time'], $time_regex); |