From 7f4829de97dff28d9368015b9e74a701a3d5dfce Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 6 Mar 2022 15:09:58 +0100 Subject: [PATCH] ipblocklist-functions.pl: Allow export of modified_file and blocklist_dir values. They so easily can be accessed by other perl scripts. Signed-off-by: Stefan Schantl --- config/cfgroot/ipblocklist-functions.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cfgroot/ipblocklist-functions.pl b/config/cfgroot/ipblocklist-functions.pl index cde81684f4..f0e5ff73f1 100644 --- a/config/cfgroot/ipblocklist-functions.pl +++ b/config/cfgroot/ipblocklist-functions.pl @@ -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"; -- 2.39.2