From: Jan Paul Tuecking Date: Wed, 22 Jul 2009 16:32:45 +0000 (+0200) Subject: Fixed problems with ids page. X-Git-Tag: v2.5-core29~3 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=67103da2a07e908d6e33700f03e94980afe4e978;hp=8f5e38185fd4ae10854917e03ba6210f46f0219e Fixed problems with ids page. --- 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) {