]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids.cgi: Use get_oinkmaster_provider_modified_sids_file() function.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 2 Apr 2021 06:06:53 +0000 (08:06 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 8 Sep 2021 17:37:24 +0000 (19:37 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index c03b5adc3d876d0d9f30c66a5b7ce09ab92b471d..bd1f24de1f2f069110e266dbf0e20f515f6c88bb 100644 (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) {