mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 05:53:00 +02:00
ids.cgi: Drop enabled rulefile from cgiparams hash after processing
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -143,6 +143,9 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) {
|
||||
if ($cgiparams{$rulefile} eq "on") {
|
||||
# Add rulefile to the array of enabled rulefiles.
|
||||
push(@enabled_rulefiles, $rulefile);
|
||||
|
||||
# Drop item from cgiparams hash.
|
||||
delete $cgiparams{$rulefile};
|
||||
}
|
||||
|
||||
# Loop through the single rules of the rulefile.
|
||||
|
||||
Reference in New Issue
Block a user