]> 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>
Sun, 19 Dec 2021 12:23:43 +0000 (13:23 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index c6bb86ae4fbc731e62b99461eb3248db32e9d37f..dff20d0b84dd56c70993c05bba4e5b5163b3f9ee 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) {