]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
ids-functions.pl: Try to enumerate the dl_rulesfile if a provider is not
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 20 Apr 2022 18:58:04 +0000 (20:58 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 20 Apr 2022 18:58:04 +0000 (20:58 +0200)
commitc62121c7e4ef9ec5688e16b04ef59e21276e1bd0
treec0f45186b6f2bb58ffa8b902391d1cf6b37a88b2
parent782418e226434fbd7fbd236699a45bce328dcd6d
ids-functions.pl: Try to enumerate the dl_rulesfile if a provider is not
supported anymore.

In this case the details about the file suffix is not available in the
ruleset-sources file anymore. In this case now the function tries to
enumerate the correct filename.

This allows to display the correct stats in the WUI and to extract and
use the downloaded ruleset of the provider until it got deleted by the
user.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl