From ed8f1c4c1c47465f79ddaf6af118d1dd29ee7d12 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 14 Aug 2019 17:07:55 +0200 Subject: luci-app-firewall: honour global default policies in per-zone settings Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/network.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/luci-base/htdocs/luci-static/resources') 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({ -- cgit v1.2.3