mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-08 23:58:10 +00:00
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
@ -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 New Issue
Block a user