]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids-functions.pl: Log the download attempt of a ruleset.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 2 Jan 2022 08:55:59 +0000 (09:55 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 2 Jan 2022 08:55:59 +0000 (09:55 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl

index 96905b617f71f3ffd2758e196081480b8b95fba3..024fe077a5503b5a509013aff4ef2a61cbf40e0c 100644 (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'};