From 5a28e721e08104e35c0e7f23a1aee4dff3fbae45 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 21 Aug 2018 19:18:01 +0200 Subject: [PATCH] ids.cgi: Fix check if the IDS is running The correct function name is ids_is_running()! Signed-off-by: Stefan Schantl --- html/cgi-bin/ids.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 6aa9ae9b93..61039f9dae 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -256,7 +256,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) { &IDS::oinkmaster(); # Check if the IDS is running. - if(&IDS::is_ids_running()) { + if(&IDS::ids_is_running()) { # Call suricatactrl to perform a reload. &IDS::call_suricatactrl("reload"); } @@ -296,7 +296,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) { &IDS::oinkmaster(); # Check if the IDS is running. - if(&IDS::is_ids_running()) { + if(&IDS::ids_is_running()) { # Call suricatactrl to perform a reload. &IDS::call_suricatactrl("reload"); } -- 2.39.2