mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Attempt to recognize pfsync entries from pf logs.
This commit is contained in:
parent
289dd6911d
commit
bbd875237a
@ -191,6 +191,8 @@ function parse_filter_line($line) {
|
||||
/* If it's still 'Options', then just ignore it. */
|
||||
if ($flent['proto'] == "Options")
|
||||
$flent['proto'] = "none";
|
||||
} elseif (($flent['proto'] == "unknown") && (!(strpos($line, ': pfsync') === FALSE))) {
|
||||
$flent['proto'] = "PFSYNC";
|
||||
}
|
||||
|
||||
/* If there is a src, a dst, and a time, then the line should be usable/good */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user