Skip to content
Snippets Groups Projects
Commit 15867dea authored by Florian Eckert's avatar Florian Eckert Committed by John Crispin
Browse files

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: default avatarFlorian Eckert <Eckert.Florian@googlemail.com>
parent 686617ae
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment