From 67103da2a07e908d6e33700f03e94980afe4e978 Mon Sep 17 00:00:00 2001 From: Jan Paul Tuecking Date: Wed, 22 Jul 2009 18:32:45 +0200 Subject: [PATCH 1/1] Fixed problems with ids page. --- 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 1cf5b8dec5..5d2da21854 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