]> git.ipfire.org Git - 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>
Thu, 7 Jul 2022 15:26:14 +0000 (17:26 +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 c578405ba0eaeced2cf01f017de3798d9e7f082a..b800e3063ec4eb7bf9cf760db0b75001bf9ee9de 100644 (file)
@@ -751,7 +751,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.