mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
convert-ids-modifysids-file: Fix check if the ids is running.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
3f7cec61c9
commit
33afb0681f
@@ -54,7 +54,7 @@ if (-f $IDS::rulestarball) {
|
||||
#
|
||||
|
||||
# Check if the IDS should be started.
|
||||
if($idssettings{"ENABLE_IDS"} eq "on") {
|
||||
if(&IDS::ids_is_running()) {
|
||||
# Call suricatactrl and reload the rules.
|
||||
&IDS::call_suricatactrl("reload");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user