mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 23:43:00 +02:00
rules.pl: Fix typo when creating blocklist drop chains.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -755,7 +755,7 @@ sub ipblocklist () {
|
||||
}
|
||||
|
||||
# Create Drop rule.
|
||||
run("$IPTABLES A ${blocklist}_DROP -j DROP");
|
||||
run("$IPTABLES -A ${blocklist}_DROP -j DROP");
|
||||
|
||||
# Add the rules to check against the set
|
||||
run("$IPTABLES -A BLOCKLISTIN -p ALL -i $RED_DEV -m set --match-set $blocklist src -j ${blocklist}_DROP");
|
||||
|
||||
Reference in New Issue
Block a user