mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
rules.pl: Add space at the end of the log prefix.
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>
This commit is contained in:
committed by
Stefan Schantl
parent
ac8e283eb4
commit
bbbea6f9ba
@@ -751,7 +751,7 @@ sub ipblocklist () {
|
|||||||
# Check if logging is enables.
|
# Check if logging is enables.
|
||||||
if($blocklistsettings{'LOGGING'} eq "on") {
|
if($blocklistsettings{'LOGGING'} eq "on") {
|
||||||
# Create logging rule.
|
# 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.
|
# Create Drop rule.
|
||||||
|
|||||||
Reference in New Issue
Block a user