mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
ids.cgi: Allways use the whitelist
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user