aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-10-07 05:48:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-10-07 05:48:21 +0000
commita3944b39ff5624b0afe8a4ec74536065d4a8c893 (patch)
tree291e7dc76675ce0e317e09d896c6e9a7ce247a0a /packages/snort
parentb76e1e42eea98235c251fafaecdbb1b2bfb4ae13 (diff)
downloadpfsense-packages-a3944b39ff5624b0afe8a4ec74536065d4a8c893.tar.gz
pfsense-packages-a3944b39ff5624b0afe8a4ec74536065d4a8c893.tar.bz2
pfsense-packages-a3944b39ff5624b0afe8a4ec74536065d4a8c893.zip
Add function description, remove trailing whitespace at end of file
Diffstat (limited to 'packages/snort')
-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