aboutsummaryrefslogtreecommitdiffstats
path: root/config/widget-snort/snort_alerts_helper.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-06-14 19:45:12 +0000
committerErmal <eri@pfsense.org>2012-06-14 19:45:12 +0000
commite48d2b403efb8a5d2316819dad7213b841fc3eb0 (patch)
tree333a1d31dc0583f66cdf9a23364d06ab25346d0f /config/widget-snort/snort_alerts_helper.php
parent7eae4615370ba69f390084033b2d6ceb222fbc30 (diff)
downloadpfsense-packages-e48d2b403efb8a5d2316819dad7213b841fc3eb0.tar.gz
pfsense-packages-e48d2b403efb8a5d2316819dad7213b841fc3eb0.tar.bz2
pfsense-packages-e48d2b403efb8a5d2316819dad7213b841fc3eb0.zip
Catch up with snort alert log change
Diffstat (limited to 'config/widget-snort/snort_alerts_helper.php')
-rw-r--r--config/widget-snort/snort_alerts_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/widget-snort/snort_alerts_helper.php b/config/widget-snort/snort_alerts_helper.php
index 46d68eac..5df0da04 100644
--- a/config/widget-snort/snort_alerts_helper.php
+++ b/config/widget-snort/snort_alerts_helper.php
@@ -3,7 +3,7 @@ require_once("globals.inc");
require_once("guiconfig.inc");
require_once("includes/snort_alerts.inc.php");
-foreach (glob("{$g['varlog_path']}/snort/alert_*") as $alert) {
+foreach (glob("{$g['varlog_path']}/snort/*/alert") as $alert) {
$snort_alerts_logfile = $alert;
$nentries = 5;
$snort_alerts = get_snort_alerts($snort_alerts_logfile, $nentries);