diff options
author | Phil Davis <phil.davis@inf.org> | 2014-12-21 17:30:40 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-12-21 17:30:40 +0545 |
commit | 1a9b610a3211c49686c424a240e38a5139cc3bdb (patch) | |
tree | fb379048dd877a86b7d80341852975064b1d9863 /etc | |
parent | 5b4ed0e1dbef72c42c0760e9c2bc02575b4d57ad (diff) | |
download | pfsense-1a9b610a3211c49686c424a240e38a5139cc3bdb.zip pfsense-1a9b610a3211c49686c424a240e38a5139cc3bdb.tar.gz |
Pass src dst IP port through to firewall log
and IP version. So that the receiving code can easily have each pat of the IP addresses and ports, and display them as it wishes.
Diffstat (limited to 'etc')
-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 b6d2eb2..073d44f 100644 --- a/etc/inc/filter_log.inc +++ b/etc/inc/filter_log.inc @@ -404,7 +404,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['srcip']}||{$log_row['dst']}||{$log_row['proto']}||" . time() . "||\n"; + $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"; } } echo $new_rules; |