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 <fe@dev.tdt.de>
(cherry picked from commit 581d7df844)
This commit is contained in:
Florian Eckert 2019-11-07 13:55:27 +01:00 committed by Florian Eckert
parent 5bf733c2d2
commit c2cd3f0997

View file

@ -1004,7 +1004,7 @@ mwan3_set_user_iptables_rule()
case $proto in case $proto in
tcp|udp) tcp|udp)
[ "$global_logging" = "1" ] && [ "$rule_logging" = "1" ] && { [ "$global_logging" = "1" ] && [ "$rule_logging" = "1" ] && {
$IPT -A mwan3_rules \ $IPT4 -A mwan3_rules \
-p $proto \ -p $proto \
-s $src_ip \ -s $src_ip \
-d $dest_ip $ipset \ -d $dest_ip $ipset \