mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use the same regex used in parse_firewall_log_line().
No functional changes.
This commit is contained in:
parent
af85efec3a
commit
7671193ba9
@ -83,7 +83,7 @@ function conv_log_filter($logfile, $nentries, $tail = 50, $filtertext = "", $fil
|
||||
|
||||
# Construct RegEx for specific log file type.
|
||||
if ($logfile_type == 'firewall') {
|
||||
$pattern = "filterlog";
|
||||
$pattern = "filterlog\[[0-9]+\]:";
|
||||
}
|
||||
else if ($logfile_type == 'system') {
|
||||
$pattern = "^" . $date_pattern . "\ +" . $host_pattern . "\ +" . $process_pid_pattern . "\ +" . $log_message_pattern . "$";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user