rules.pl: Proposed patch - Fix for missing bracket

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
This commit is contained in:
Matthias Fischer
2023-03-12 14:28:00 +01:00
committed by Peter Müller
parent cb51fdda19
commit ab5b17a98e

View 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 \"");
}