X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Fids.cgi;h=1d0f4abc81e0a56686deacb7c57c6feeed5008b5;hp=353643d736a14332e4f5a03e7ed4e9dc9fb50697;hb=611965065294209d2e418c221e9dfe7042775fad;hpb=584efcab4fcd9c2b3c385f3dd86730c590a7e736 diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 353643d736..1d0f4abc81 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -143,7 +143,7 @@ if (-e "/etc/snort/snort.conf") { # If see more than one dashed line, (start to) create rule file description if ($dashlinecnt > 1) { # Check for a line starting with a # - if ($ruleline =~ /^\#/) { + if ($ruleline =~ /^\#/ and $ruleline !~ /^\#alert/) { # Create tempruleline my $tempruleline = $ruleline;