]> 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>
Sat, 7 May 2022 09:37:09 +0000 (11:37 +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 7659a609c7d937b88d9723934e3b43ab45bcfb9c..f5621529929279b43b34a72714dac07a00b98d5b 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.