Use the same regex used in parse_firewall_log_line().

No functional changes.
This commit is contained in:
Luiz Souza 2019-03-21 11:44:21 -03:00
parent af85efec3a
commit 7671193ba9

View File

@ -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 . "$";