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>
This commit is contained in:
parent
686617ae39
commit
15867deac8
1 changed files with 1 additions and 5 deletions
|
@ -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…
Reference in a new issue