From: Stefan Schantl <stefan.schantl@ipfire.org>
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 [thread overview]
Message-ID: <20190609155534.3288-1-stefan.schantl@ipfire.org> (raw)
In-Reply-To: <59fcf8a541b34638a7084dac2de4b0d583c0aedb.camel@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 681 bytes --]
Signed-off-by: Stefan Schantl <stefan.schantl(a)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
next prev parent reply other threads:[~2019-06-09 15:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-09 12:54 suricata: error in 'convert-ids-modifysids-file' - Matthias Fischer
2019-06-09 15:53 ` Stefan Schantl
2019-06-09 15:55 ` Stefan Schantl [this message]
2019-06-10 8:47 ` Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190609155534.3288-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox