#21722: network_is_up returns incorrect status
---------------------------------+---------------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Designated Driver (Trunk)
Component: base system | Version: Trunk
Keywords: network.sh function |
---------------------------------+---------------------------------------
----
root@oiga:~# ifdown wwan
root@oiga:~# ifstatus wwan
{
"up": false,
"pending": false,
"available": true,
"autostart": false,
"proto": "dhcp",
"device": "wlan0",
"data": {
}
}
root@oiga:~# network_is_up wwan;echo $?
0
----
--
Ticket URL: <https://dev.openwrt.org/ticket/21722>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets