From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] convert-ids-modifysids-file: Fix check if the ids is running. Date: Sun, 09 Jun 2019 17:55:34 +0200 Message-ID: <20190609155534.3288-1-stefan.schantl@ipfire.org> In-Reply-To: <59fcf8a541b34638a7084dac2de4b0d583c0aedb.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1317882234138428658==" List-Id: --===============1317882234138428658== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- 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/co= nvert-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) { # =20 # 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"); } --=20 2.20.1 --===============1317882234138428658==--