From: Stefan Schantl Date: Wed, 14 Feb 2018 11:14:06 +0000 (+0100) Subject: ids-functions.pl: Make variables globally accessible X-Git-Tag: suricata-beta3~33^2~39^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77910792754776c740ddd415d4737340052a4d91;p=people%2Fstevee%2Fipfire-2.x.git ids-functions.pl: Make variables globally accessible Signed-off-by: Stefan Schantl --- diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index 999c0ea412..c8b0c568d0 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -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