fix broken ids when http_inspect is disabled

This commit is contained in:
Daniel Glanzmann
2008-09-26 19:03:22 +02:00
parent 989182d244
commit 983e9dd75f

View File

@@ -114,7 +114,7 @@ if (-e "/etc/snort/snort.conf") {
if ($snortsettings{'ACTION'} eq $Lang::tr{'save'}) {
# Check for preprocessor settings
if ($line =~ /preprocessor http_inspect:/) {
if ($line =~ /preprocessor http_inspect/) {
# Strip out leading # from rule line
$line =~ s/\# ?//i;
if (($snortsettings{'ENABLE_PREPROCESSOR_HTTP_INSPECT'} eq 'off')) {