diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/snort/snort_blocked.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php index b9a5a471..465e5804 100644 --- a/config/snort/snort_blocked.php +++ b/config/snort/snort_blocked.php @@ -131,7 +131,7 @@ function get_snort_alert_ip_src($fileline) function get_snort_alert_disc($fileline) { /* disc */ - if (preg_match("/\[\*\*\]\s+(\[[0-9:]+\])\s+(.+)\s+(\[\*\*\])/", $fileline, $matches)) + if (preg_match("/\[\*\*\] (\[.*\]) (.*) (\[\*\*\])/", $fileline, $matches)) return "{$matches[2]}"; return ""; |