Fixed problems with ids page.

This commit is contained in:
Jan Paul Tuecking
2009-07-22 18:32:45 +02:00
parent 8f5e38185f
commit 67103da2a0

View 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) {