From: Florian Eckert Date: Thu, 7 Nov 2019 12:55:27 +0000 (+0100) Subject: mwan3: fix variable naming X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=581d7df844f47e5284245db47b36e21138d2653e;p=openwrt-packages.git 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 --- 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 \