ids-functions.pl: Log the download attempt of a ruleset.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2022-01-02 09:55:59 +01:00
parent 1b71e2b3c6
commit e498947d3a

View File

@@ -320,6 +320,9 @@ sub downloadruleset ($) {
# Loop through the hash of sheduled providers.
foreach my $provider ( keys %sheduled_providers) {
# Log download/update of the ruleset.
&_log_to_syslog("Downloading ruleset for provider: $provider.");
# Grab the download url for the provider.
my $url = $IDS::Ruleset::Providers{$provider}{'dl_url'};