mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 04:52:59 +02:00
ids.cgi: Fix check if the IDS is running
The correct function name is ids_is_running()! Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user