summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter_log.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-12-21 17:30:40 +0545
committerPhil Davis <phil.davis@inf.org>2014-12-21 17:30:40 +0545
commit1a9b610a3211c49686c424a240e38a5139cc3bdb (patch)
treefb379048dd877a86b7d80341852975064b1d9863 /etc/inc/filter_log.inc
parent5b4ed0e1dbef72c42c0760e9c2bc02575b4d57ad (diff)
downloadpfsense-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/inc/filter_log.inc')
-rw-r--r--etc/inc/filter_log.inc2
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;
OpenPOWER on IntegriCloud