From 36330f84fb69c380c29038f22523cf998f18b214 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 3 Apr 2022 14:15:48 +0200 Subject: [PATCH] rules.pl: Fix typo when creating blocklist drop chains. Signed-off-by: Stefan Schantl --- config/firewall/rules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/firewall/rules.pl b/config/firewall/rules.pl index 50feafa3be..c12e8fa6e4 100644 --- a/config/firewall/rules.pl +++ b/config/firewall/rules.pl @@ -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"); -- 2.39.2