aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_alerts.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-14 22:02:04 +0000
committerErmal <eri@pfsense.org>2012-07-14 22:02:04 +0000
commit4298ad1e9e309c40e58eca024179bcdac20d2ba9 (patch)
tree13dd81064c179bf8140b23b6734ba615eb6871df /config/snort/snort_alerts.php
parentc3ec976f25203faa460527e114f1ce1ffe3d0397 (diff)
downloadpfsense-packages-4298ad1e9e309c40e58eca024179bcdac20d2ba9.tar.gz
pfsense-packages-4298ad1e9e309c40e58eca024179bcdac20d2ba9.tar.bz2
pfsense-packages-4298ad1e9e309c40e58eca024179bcdac20d2ba9.zip
Correct field extraction
Diffstat (limited to 'config/snort/snort_alerts.php')
-rw-r--r--config/snort/snort_alerts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_alerts.php b/config/snort/snort_alerts.php
index 90cc28d3..bd40b6e0 100644
--- a/config/snort/snort_alerts.php
+++ b/config/snort/snort_alerts.php
@@ -297,7 +297,7 @@ if (file_exists("/var/log/snort/snort_{$if_real}{$snort_uuid}/alert")) {
$alert_dst_p = $fields[9];
/* SID */
$alert_sid_str = "{$fields[1]}:{$fields[2]}:{$fields[3]}";
- $alert_class = $fields[10];
+ $alert_class = $fields[11];
echo "<tr id=\"{$counter}\">
<td class='listr' width='10%'>{$alert_date}</td>