From 4298ad1e9e309c40e58eca024179bcdac20d2ba9 Mon Sep 17 00:00:00 2001 From: Ermal Date: Sat, 14 Jul 2012 22:02:04 +0000 Subject: Correct field extraction --- config/snort/snort_alerts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort/snort_alerts.php') 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 " {$alert_date} -- cgit v1.2.3