]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/cfgroot/ids-functions.pl
ids-functions.pl: Add get_provider_ruleset_modifications_file().
[ipfire-2.x.git] / config / cfgroot / ids-functions.pl
index 5e23452449ec2a579f0b076fa54a8a5801f7ee2d..e86816019a909dda09d35c69d2afd7835d043fce 100644 (file)
@@ -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.
 #