]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
rules.pl: Fix typo when creating blocklist drop chains.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 3 Apr 2022 12:15:48 +0000 (14:15 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 7 May 2022 09:38:40 +0000 (11:38 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/firewall/rules.pl

index 28accd4879853a90c3e85e289dc3825c4024132b..1f3b3f1a078a22144d587138d5fe428135084da1 100644 (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");