From: Stefan Schantl Date: Fri, 14 Apr 2023 16:31:59 +0000 (+0200) Subject: rules.pl: Use load_blocklists() function to load all X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a13414ac78096f6ecd8383439a9ee3b4b17804dd;p=people%2Fstevee%2Fipfire-2.x.git rules.pl: Use load_blocklists() function to load all enabled blocklists. Signed-off-by: Stefan Schantl --- diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index daebea01a6..143161b551 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -742,6 +742,9 @@ sub ipblocklist () { } } + # Load the blocklists. + &IPblocklist::load_blocklists(); + # Loop through the array of blocklists. foreach my $blocklist (@blocklists) { # Check if the blocklist feature and the current processed blocklist is enabled.