uqmi: fix option ipv6

If option ist not set then ipv6 is still enabled on this Interface.
Check if variable is zero will fix this issue.

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
v19.07.3_mercusys_ac12_duma
Florian Eckert 8 years ago committed by John Crispin
parent 686617ae39
commit 15867deac8

@ -31,11 +31,7 @@ proto_qmi_setup() {
ipv4=1
if [ "$ipv6" = 0 ]; then
ipv6=""
else
ipv6=1
fi
[ "$ipv6" = 1 ] || ipv6=""
[ -n "$ctl_device" ] && device=$ctl_device

Loading…
Cancel
Save