mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
ids.cgi: Use get_oinkmaster_provider_modified_sids_file() function.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user