ids.cgi: Use get_oinkmaster_provider_modified_sids_file() function.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2021-04-02 08:06:53 +02:00
parent 5b9d877d46
commit 5d523e4161

View File

@@ -353,7 +353,7 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'ids apply'}) {
my %enabled_disabled_sids;
# Generate modified sids file name for the current processed provider.
my $providers_modified_sids_file = "$IDS::settingsdir/oinkmaster-$provider-modified-sids.conf";
my $providers_modified_sids_file = &IDS::get_oinkmaster_provider_modified_sids_file($provider);
# Check if a modified sids file for this provider exists.
if (-f $providers_modified_sids_file) {