mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
ids.cgi: Do not expect a space before the sid when parsing rulefiles.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -1942,7 +1942,7 @@ sub readrulesfile ($) {
|
||||
my $msg;
|
||||
|
||||
# Gather rule sid and message from the ruleline.
|
||||
if ($line =~ m/.*msg:\"(.*?)\"\; .* sid:(.*?); /) {
|
||||
if ($line =~ m/.*msg:\"(.*?)\"\; .*sid:(.*?); /) {
|
||||
$msg = $1;
|
||||
$sid = $2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user