]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
rules.pl: Add space at the end of the log prefix.
authorRob Brewer <rob.brewer@ipfire.org>
Sun, 3 Apr 2022 08:52:56 +0000 (10:52 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 3 Apr 2022 08:52:56 +0000 (10:52 +0200)
This improves the readabiliy when digging through the logs.

Signed-off-by: Rob Brewer <rob.brewer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/firewall/rules.pl

index 3ac4d3ba7f5a4b8293178878b3bcee4346a6d1a7..95f36178ab11e5dda15b2989c7c2f4bdc76e93c8 100644 (file)
@@ -752,7 +752,7 @@ sub ipblocklist () {
                # Check if logging is enables.
                if($blocklistsettings{'LOGGING'} eq "on") {
                        # Create logging rule.
-                       run("$IPTABLES -A ${blocklist}_DROP -j LOG -m limit --limit 10/second --log-prefix \"BLKLST_$blocklist\"");
+                       run("$IPTABLES -A ${blocklist}_DROP -j LOG -m limit --limit 10/second --log-prefix \"BLKLST_$blocklist\" ");
                }
 
                # Create Drop rule.