]> git.ipfire.org Git - 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>
Thu, 7 Jul 2022 15:26:14 +0000 (17:26 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/firewall/rules.pl

index 50feafa3bee11d5d3f3f0b217851ca7724ed6dca..c12e8fa6e4d38f89f4b44482e646680482fd7acd 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");