aboutsummaryrefslogtreecommitdiffstats
path: root/config/widget-snort/snort_alerts_helper.php
diff options
context:
space:
mode:
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);