]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ipblocklist-functions.pl: Allow export of modified_file and
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 6 Mar 2022 14:09:58 +0000 (15:09 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 7 Jul 2022 15:26:13 +0000 (17:26 +0200)
blocklist_dir values.

They so easily can be accessed by other perl scripts.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ipblocklist-functions.pl

index cde81684f4a4c51e6feae9b07a5f85186fb89cd4..f0e5ff73f1c5b7788fed6757f55b88ec4a376f9d 100644 (file)
@@ -31,10 +31,10 @@ our $settings_dir = "/var/ipfire/ipblocklist";
 our $settings_file = "$settings_dir/settings";
 
 # The file which keeps the time, when a blocklist last has been modified.
-my $modified_file = "$settings_dir/modified";
+our $modified_file = "$settings_dir/modified";
 
 # Location where the blocklists in ipset compatible format are stored.
-my $blocklist_dir = "/var/lib/ipblocklist";
+our $blocklist_dir = "/var/lib/ipblocklist";
 
 # File extension of the blocklist files.
 my $blocklist_file_extension = ".conf";