From a3944b39ff5624b0afe8a4ec74536065d4a8c893 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 7 Oct 2006 05:48:21 +0000 Subject: Add function description, remove trailing whitespace at end of file --- packages/snort/snort.inc | 21 +-------------------- 1 file changed, 1 insertion(+), 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) @@ -501,25 +502,5 @@ function get_snort_alert($ip) { } return "n/a"; } - - - - - - - - - - - - - - - - - - - - ?> \ No newline at end of file -- cgit v1.2.3