From d192af92100ad3a7a712e2b22b3a12342b68a907 Mon Sep 17 00:00:00 2001 From: Jan Paul Tuecking Date: Wed, 22 Jul 2009 19:08:15 +0200 Subject: [PATCH] Revert "Fixed problems with ids page." This reverts commit 67103da2a07e908d6e33700f03e94980afe4e978. --- html/cgi-bin/ids.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 5d2da21854..1cf5b8dec5 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -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 = ; 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) { -- 2.39.2