]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/firewall/rules.pl
rules.pl: Fix typo when creating blocklist drop chains.
[ipfire-2.x.git] / 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");