mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
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 <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user