]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Revert "Fixed problems with ids page."
authorJan Paul Tuecking <earl@ipfire.org>
Wed, 22 Jul 2009 17:08:15 +0000 (19:08 +0200)
committerJan Paul Tuecking <earl@ipfire.org>
Wed, 22 Jul 2009 17:08:15 +0000 (19:08 +0200)
This reverts commit 67103da2a07e908d6e33700f03e94980afe4e978.

html/cgi-bin/ids.cgi

index 5d2da21854cf7b4558038d55f8afabfaadbc555e..1cf5b8dec5bcf88e574847115be9064ad5ac52c7 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) {