luci/modules/luci-base/luasrc/model
Oskari Rauta 57e58b9bf9 Update network.lua
Fix display of WAN status when WAN is provided by using WWAN device or similar with other similar similar methods.
Explanation:
Before this, protocol was fetched from /etc/config/network for interface which often is wan_4 - but protocol is configured in file as wan, and therefore protocol is always none, since configuration is made for wan and then setup as wan_4 and possibly wan_6 if ipv6 is being used. This commit uses ubus to get used active protocol. For example, in case of qmi, it displays protocol as dhcp since even if I configured wan to use qmi, dhcp was used as a protocol for getting IP address.
2016-04-01 04:15:11 +00:00
..
cbi/admin_network Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
firewall.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
ipkg.lua luci-base: filter invalid opkg status lines 2015-10-20 21:04:46 +02:00
ipkg.luadoc Fix module lines in several luadoc files 2015-09-01 16:43:19 +02:00
network.lua Update network.lua 2016-04-01 04:15:11 +00:00
uci.lua uci:get_list: always return a table, no matter what. 2015-09-02 15:28:02 +00:00
uci.luadoc Merge pull request #464 from remakeelectric/pulls/list-operations 2015-12-17 02:39:23 +01:00