From: Daniel Glanzmann Date: Fri, 26 Sep 2008 17:03:22 +0000 (+0200) Subject: fix broken ids when http_inspect is disabled X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=983e9dd75fc914bbf73e0a80dfa9b743f089c26e;p=people%2Fteissler%2Fipfire-2.x.git fix broken ids when http_inspect is disabled --- diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index efd79b58c..3510b1789 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -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')) {