]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids.cgi: Fix function call of get_used_provider_rulesfile_file().
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 2 Apr 2021 08:04:21 +0000 (10:04 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Dec 2021 12:23:43 +0000 (13:23 +0100)
The function is locatated in the IDS module and therefore needs to be
called from there.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index aad0630e6333bf19433598fd2d7895e5104a460f..8a2afd90612c1cf65454d9e48a5441b6486a4860 100644 (file)
@@ -885,7 +885,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'ids apply'}) {
        &IDS::drop_dl_rulesfile($provider);
 
        # Get the name of the provider rulessets include file.
-       my $provider_used_rulefile = &get_used_provider_rulesfile_file($provider);
+       my $provider_used_rulefile = &IDS::get_used_provider_rulesfile_file($provider);
 
        # Drop the file, it is not longer needed.
        unlink("$provider_used_rulefile");