#19116: "/lib/functions/network.sh; network_get_device" returns empty
-----------------------+-----------------------------------
Reporter: n0nb@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Barrier Breaker 14.07
Resolution: | Keywords:
-----------------------+-----------------------------------
Comment (by yousong):
You may want to consult the output of command `ubus call
network.interface.wan status`. Besides `network_get_device` which will
retrieve l3 device name, there is also `network_get_physdev` for l2
device.
--
Ticket URL: <https://dev.openwrt.org/ticket/19116#comment:1>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets