]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/ids.cgi
ids.cgi: Fix check if the IDS is running
[ipfire-2.x.git] / html / cgi-bin / ids.cgi
index 6aa9ae9b93f719dbcdbff8245535659226b59bd9..61039f9dae410dbb723fd12926991946e10368ef 100644 (file)
@@ -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");
                        }