Jo-Philipp Wich
ffdafd4800
luci-base: properly handle getWifiNetidBySid() return value
...
The getWifiNetidBySid() helper returns an array containing the network id
and the corresponding radio name, not just the id.
Fixes : #2846 .
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-09 17:50:21 +02:00
Jo-Philipp Wich
91afb6fae2
luci-base: network.js: dynamically calculate IPv4 netmasks
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 20:12:42 +02:00
Jo-Philipp Wich
f970c485cf
treewide: switch to shared isObject(), toArray() and sortedKeys() helpers
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 20:11:35 +02:00
Jo-Philipp Wich
00a3da1fb3
luci-base: fix regular expression in network.Protocol.getDevices()
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:36:26 +02:00
Jo-Philipp Wich
eecf859b29
luci-base: add client-side implementation of luci.model.network
...
Introduce network.js, a client side reimplementation of the
luci.model.network class.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:36:25 +02:00