mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
update-ids-ruleset: Disable provider if not dl_url can be obtained
Unsupported/Removed provides does not longer have these information Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
df7977fde7
commit
0842e694a6
@@ -106,7 +106,7 @@ foreach my $id (keys %providers) {
|
||||
my $autoupdate_status = $providers{$id}[3];
|
||||
|
||||
# Skip unsupported providers.
|
||||
next unless($IDS::Ruleset::Providers{$provider});
|
||||
next unless($IDS::Ruleset::Providers{$provider}{'dl_url'});
|
||||
|
||||
# Skip the provider if it is not enabled.
|
||||
next unless($enabled_status eq "enabled");
|
||||
|
||||
Reference in New Issue
Block a user