diff options
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/network.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/network.js b/modules/luci-base/htdocs/luci-static/resources/network.js index 86e6ea5744..487adabb45 100644 --- a/modules/luci-base/htdocs/luci-static/resources/network.js +++ b/modules/luci-base/htdocs/luci-static/resources/network.js @@ -51,18 +51,19 @@ var callNetworkWirelessStatus = rpc.declare({ var callLuciNetdevs = rpc.declare({ object: 'luci', - method: 'netdevs' + method: 'getNetworkDevices', + expect: { '': {} } }); var callLuciIfaddrs = rpc.declare({ object: 'luci', - method: 'ifaddrs', + method: 'getIfaddrs', expect: { result: [] } }); var callLuciBoardjson = rpc.declare({ object: 'luci', - method: 'boardjson' + method: 'getBoardJSON' }); var callIwinfoInfo = rpc.declare({ |