From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] rules.pl: Proposed patch - Fix for missing bracket Date: Sun, 12 Mar 2023 14:28:00 +0100 Message-ID: <20230312132800.1625540-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5314795020460668090==" List-Id: --===============5314795020460668090== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Matthias Fischer --- 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 80985ca53..6c08feb86 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -761,7 +761,7 @@ sub ipblocklist () { } =20 # Check if logging is enabled. - if($blocklistsettings{'LOGGING'}) && ($blocklistsettings{'LOGGING'} eq "o= n")) { + 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 \""); } --=20 2.34.1 --===============5314795020460668090==--