rules.pl: Fix typo when creating blocklist drop chains.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2022-04-03 14:15:48 +02:00
parent 39eba7abab
commit 36330f84fb

View File

@@ -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");