mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do the same for filter logs on dashboard as on the System logs.
This commit is contained in:
parent
884a12b768
commit
e6a5a0669c
@ -78,13 +78,7 @@ function conv_clog_filter($logfile, $tail = 8) {
|
||||
|
||||
$flent['time'] = $log_split[1];
|
||||
$flent['act'] = $log_split[3];
|
||||
|
||||
$friendly_int = convert_real_interface_to_friendly_interface_name($log_split[4]);
|
||||
|
||||
$flent['interface'] = strtoupper($friendly_int);
|
||||
|
||||
if($config['interfaces'][$friendly_int]['descr'] <> "")
|
||||
$flent['interface'] = "{$config['interfaces'][$friendly_int]['descr']}";
|
||||
$flent['interface'] = empty($iftable[$log_split[4]) ? $log_split[4] : $iftable[$log_split[4]];
|
||||
|
||||
$tmp = split("/", $log_split[2]);
|
||||
$flent['rulenum'] = $tmp[0];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user