]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
rules.pl: Proposed patch - Fix for missing bracket
authorMatthias Fischer <matthias.fischer@ipfire.org>
Sun, 12 Mar 2023 13:28:00 +0000 (14:28 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Sun, 12 Mar 2023 20:38:37 +0000 (20:38 +0000)
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
config/firewall/rules.pl

index 80985ca530ec68e8191334125f18649f7f5eb429..6c08feb86391a0a3a6456a8dfa105fba33e7f01e 100644 (file)
@@ -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 \"");
                        }