[PATCH] convert-ids-modifysids-file: Fix check if the ids is running.

Stefan Schantl stefan.schantl at ipfire.org
Sun Jun 9 16:55:34 BST 2019


Signed-off-by: Stefan Schantl <stefan.schantl at ipfire.org>
---
 config/suricata/convert-ids-modifysids-file | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/suricata/convert-ids-modifysids-file b/config/suricata/convert-ids-modifysids-file
index adcc10577..f1c2a7b9c 100644
--- a/config/suricata/convert-ids-modifysids-file
+++ b/config/suricata/convert-ids-modifysids-file
@@ -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");
 }
-- 
2.20.1



More information about the Development mailing list