aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/snort/snort.inc21
1 files changed, 1 insertions, 20 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index aba44a75..f13e2990 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -487,6 +487,7 @@ function update_all_status($status) {
$snort_alert_file_split = split("\n", file_get_contents("/var/log/snort/alert"));
+/* obtain alert description for an ip address */
function get_snort_alert($ip) {
global $snort_alert_file_split;
if(!$snort_alert_file_split)
@@ -502,24 +503,4 @@ function get_snort_alert($ip) {
return "n/a";
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
?> \ No newline at end of file