diff options
author | Renato Botelho <renato@netgate.com> | 2015-11-19 07:42:37 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-11-19 07:42:37 -0200 |
commit | da6e3b644774d2f090e5353970b220288338007e (patch) | |
tree | 6c6b3d1aec5f2e91b04c89867093d05968dfbd4a | |
parent | fa49ec387e282db659a64bbba15489f21fcc216c (diff) | |
parent | 5196767911b23ce49a3169bde9a46c237157a963 (diff) | |
download | pfsense-da6e3b644774d2f090e5353970b220288338007e.zip pfsense-da6e3b644774d2f090e5353970b220288338007e.tar.gz |
Merge pull request #2014 from phil-davis/patch-1
-rw-r--r-- | etc/inc/filter_log.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc index 46c9b13..6316bff 100644 --- a/etc/inc/filter_log.inc +++ b/etc/inc/filter_log.inc @@ -401,12 +401,12 @@ function handle_ajax($nentries, $tail = 50) { $filterlog = isset($config['syslog']['reverse']) ? array_reverse($filterlog) : $filterlog; foreach($filterlog as $log_row) { $row_time = strtotime($log_row['time']); - $img = "<img border='0' src='" . find_action_image($log_row['act']) . "' alt={$log_row['act']} title={$log_row['act']} />"; + $img = "<img border='0' src='" . find_action_image($log_row['act']) . "' alt={$log_row['act']}/{$log_row['tracker']} title={$log_row['act']}/{$log_row['tracker']} />"; if($row_time > $lastsawtime) { if ($log_row['proto'] == "TCP") $log_row['proto'] .= ":{$log_row['tcpflags']}"; - $img = "<a href=\"#\" onClick=\"javascript:getURL('diag_logs_filter.php?getrulenum={$log_row['rulenum']},{$log_row['rulenum']}', outputrule);\">{$img}</a>"; + $img = "<a href=\"#\" onClick=\"javascript:getURL('diag_logs_filter.php?getrulenum={$log_row['rulenum']},{$log_row['tracker']},{$log_row['act']}', outputrule);\">{$img}</a>"; $new_rules .= "{$img}||{$log_row['time']}||{$log_row['interface']}||{$log_row['srcip']}||{$log_row['srcport']}||{$log_row['dstip']}||{$log_row['dstport']}||{$log_row['proto']}||{$log_row['version']}||" . time() . "||\n"; } } |