]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Fixed problems with ids page.
authorJan Paul Tuecking <earl@ipfire.org>
Wed, 22 Jul 2009 16:32:45 +0000 (18:32 +0200)
committerJan Paul Tuecking <earl@ipfire.org>
Wed, 22 Jul 2009 16:32:45 +0000 (18:32 +0200)
html/cgi-bin/ids.cgi

index 1cf5b8dec5bcf88e574847115be9064ad5ac52c7..5d2da21854cf7b4558038d55f8afabfaadbc555e 100644 (file)
@@ -96,7 +96,7 @@ if (-e "/etc/snort/snort.conf") {
        open(FILE, "/etc/snort/snort.conf") or die 'Unable to read snort config file.';
        @snortconfig = <FILE>;
        close(FILE);
-       open(FILE, ">/etc/snort/snort.conf") or die 'Unable to write snort config file.';
+       open(FILE, "/etc/snort/snort.conf") or die 'Unable to write snort config file.';
 
     my @rules = `cd /etc/snort/rules/ && ls *.rules`;    # With this loop the rule might be display with correct rulepath set
        foreach (@rules) {