From ab5b17a98ebb53cc0dfe74ed360a9f444cd057ef Mon Sep 17 00:00:00 2001 From: Matthias Fischer Date: Sun, 12 Mar 2023 14:28:00 +0100 Subject: [PATCH] rules.pl: Proposed patch - Fix for missing bracket Signed-off-by: Matthias Fischer Reviewed-by: Bernhard Bitsch --- config/firewall/rules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 80985ca530..6c08feb863 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -761,7 +761,7 @@ sub ipblocklist () { } # Check if logging is enabled. - if($blocklistsettings{'LOGGING'}) && ($blocklistsettings{'LOGGING'} eq "on")) { + if(($blocklistsettings{'LOGGING'}) && ($blocklistsettings{'LOGGING'} eq "on")) { # Create logging rule. run("$IPTABLES -A ${blocklist}_DROP -j LOG -m limit --limit 10/second --log-prefix \"BLKLST_$blocklist \""); } -- 2.39.5