mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
ids-functions.pl: Add get_provider_ruleset_modifications_file().
This function will obosolete the old oinkmaster modifications files. Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -1550,6 +1550,18 @@ sub get_used_provider_rulesfile_file ($) {
|
||||
return $filename;
|
||||
}
|
||||
|
||||
#
|
||||
## Tiny function to generate the full path and name for the file which stores the modifications of a ruleset.
|
||||
#
|
||||
sub get_provider_ruleset_modifications_file($) {
|
||||
my ($provider) = @_;
|
||||
|
||||
my $filename = "$settingsdir/$provider\-modifications";
|
||||
|
||||
# Return the filename.
|
||||
return $filename;
|
||||
}
|
||||
|
||||
#
|
||||
## Function to generate and write the file for modify the ruleset.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user