From 02b50f05c58c17b8fff6b9b47e04cda0cb64dbfc Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Tue, 23 Apr 2013 22:03:25 -0400 Subject: Add uninstall function to Snort Dashboard Widget and bump version. --- config/widget-snort/snort_alerts.widget.php | 1 - 1 file changed, 1 deletion(-) (limited to 'config/widget-snort/snort_alerts.widget.php') diff --git a/config/widget-snort/snort_alerts.widget.php b/config/widget-snort/snort_alerts.widget.php index 3c41dd54..e488bc49 100644 --- a/config/widget-snort/snort_alerts.widget.php +++ b/config/widget-snort/snort_alerts.widget.php @@ -90,7 +90,6 @@ if (file_exists("/usr/local/pkg/snort/snort.inc")) { $snort_alerts[$counter]['instanceid'] = $a_instance[$instanceid]['interface']; $snort_alerts[$counter]['timestamp'] = $fields[0]; - /* Look for the dash separating date and time so we can handle entries with year in them */ $snort_alerts[$counter]['timeonly'] = substr($fields[0], strpos($fields[0], '-')+1, -8); $snort_alerts[$counter]['dateonly'] = substr($fields[0], 0, strpos($fields[0], '-')); $snort_alerts[$counter]['src'] = $fields[6]; -- cgit v1.2.3