]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ids-functions.pl: Make variables globally accessible
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 14 Feb 2018 11:14:06 +0000 (12:14 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 26 Jul 2018 09:58:39 +0000 (11:58 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl

index 999c0ea412e0ea2ca0dab480392a922f05fc84e1..c8b0c568d0b1a43e763315507b0624f67da19ca0 100644 (file)
@@ -27,10 +27,10 @@ require '/var/ipfire/general-functions.pl';
 require "${General::swroot}/lang.pl";
 
 # Location and name of the tarball which contains the ruleset.
-my $rulestarball = "/var/tmp/snortrules.tar.gz";
+our $rulestarball = "/var/tmp/snortrules.tar.gz";
 
 # File to store any errors, which also will be read and displayed by the wui.
-my $storederrorfile = "/tmp/ids_storederror";
+our $storederrorfile = "/tmp/ids_storederror";
 
 #
 ## Function for checking if at least 300MB of free disk space are available