diff options
author | N0YB <Al_Stu@Frontier.com> | 2013-05-21 18:49:53 -0700 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2013-05-21 18:49:53 -0700 |
commit | 9486a5803fcde9a048080f7d0c29505e3bc3c7ae (patch) | |
tree | b7f314e17602a15c92d6f1308ec370dddbc9d04b /etc/inc/filter_log.inc | |
parent | 757733b5e9fc0378023b4946d4c25d369abf0839 (diff) | |
download | pfsense-9486a5803fcde9a048080f7d0c29505e3bc3c7ae.zip pfsense-9486a5803fcde9a048080f7d0c29505e3bc3c7ae.tar.gz |
Widget Firewall Logs Fields
In the Firewall Log Widget view time field is of more use than source port and protocol.
Add time field and remove source port and protocol fields.
Fields: Action, Time, Interface, Source IP, Destination IP & Port
Diffstat (limited to 'etc/inc/filter_log.inc')
-rw-r--r-- | etc/inc/filter_log.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc index db0131c..c3b52bb 100644 --- a/etc/inc/filter_log.inc +++ b/etc/inc/filter_log.inc @@ -346,7 +346,7 @@ function handle_ajax($nentries, $tail = 50) { $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>"; - $new_rules .= "{$img}||{$log_row['time']}||{$log_row['interface']}||{$log_row['src']}||{$log_row['dst']}||{$log_row['proto']}||" . time() . "||\n"; + $new_rules .= "{$img}||{$log_row['time']}||{$log_row['interface']}||{$log_row['srcip']}||{$log_row['dst']}||{$log_row['proto']}||" . time() . "||\n"; } } echo $new_rules; |