From 581d7df844f47e5284245db47b36e21138d2653e Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 7 Nov 2019 13:55:27 +0100 Subject: [PATCH] mwan3: fix variable naming The variable IPT is not valid at this point. Set the variable usage to IPT4 fixes this issue. Signed-off-by: Florian Eckert --- net/mwan3/files/lib/mwan3/mwan3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mwan3/files/lib/mwan3/mwan3.sh b/net/mwan3/files/lib/mwan3/mwan3.sh index ae7b398aa..88159e8b9 100644 --- a/net/mwan3/files/lib/mwan3/mwan3.sh +++ b/net/mwan3/files/lib/mwan3/mwan3.sh @@ -1004,7 +1004,7 @@ mwan3_set_user_iptables_rule() case $proto in tcp|udp) [ "$global_logging" = "1" ] && [ "$rule_logging" = "1" ] && { - $IPT -A mwan3_rules \ + $IPT4 -A mwan3_rules \ -p $proto \ -s $src_ip \ -d $dest_ip $ipset \