Otherwise the same provider could not be added again at a later
time if the stored etag is still valid.
In this case the server will not offer the rules and the provider
could not be added.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
# Drop the stored ruleset file.
&IDS::drop_dl_rulesfile($provider);
+ # Remove may stored etag data.
+ &IDS::remove_from_etags($provider);
+
# Get the name of the provider rulessets include file.
my $provider_used_rulefile = &IDS::get_provider_used_rulesfiles_file($provider);