]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
fix broken ids when http_inspect is disabled
authorDaniel Glanzmann <dg@ipfire.org>
Fri, 26 Sep 2008 17:03:22 +0000 (19:03 +0200)
committerDaniel Glanzmann <dg@ipfire.org>
Fri, 26 Sep 2008 17:03:22 +0000 (19:03 +0200)
html/cgi-bin/ids.cgi

index efd79b58cfaec7a07e1b630d96473da35c9c039b..3510b1789c5adfecad77288027d681aec79313f9 100644 (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')) {