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>
This commit is contained in:
parent
94e0c78826
commit
581d7df844
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue