From: Stefan Schantl Date: Tue, 18 Dec 2018 14:19:30 +0000 (+0100) Subject: ids.cgi: Allways use the whitelist X-Git-Tag: suricata-beta4~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8353c3fd36c3e56861b9996c489836e4554c1ebd;p=people%2Fstevee%2Fipfire-2.x.git ids.cgi: Allways use the whitelist Signed-off-by: Stefan Schantl --- diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 3e4822cd41..fb0aeebd7a 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -419,11 +419,11 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) { # Write header to file. print FILE "#Autogenerated file. Any custom changes will be overwritten!\n"; + # Allways load the whitelist. + print FILE " - whitelist.rules\n"; + # Check if the enabled_rulefiles array contains any entries. if (@enabled_rulefiles) { - # Allways load the whitelist. - print FILE " - whitelist.rules\n"; - # Loop through the array of rulefiles which should be loaded and write them to the file. foreach my $file (@enabled_rulefiles) { print FILE " - $file\n";