mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
committed by
Peter Müller
parent
cb51fdda19
commit
ab5b17a98e
@@ -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 \"");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user