From: Jo-Philipp Wich Date: Wed, 20 Jan 2016 16:29:40 +0000 (+0100) Subject: luci-mod-admin-full: align assoclist in wifi overview with status index page X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=63d70daae1921d9f5a92cf2221ca4f1601c78ef5;p=project%2Fluci.git luci-mod-admin-full: align assoclist in wifi overview with status index page Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm index f82d06dcdc..4632673a7f 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -88,12 +88,7 @@ end end - local devices = ntm:get_wifidevs() - local arpcache = { } - ip.neighbors({ family = 4 }, function(n) - if n.mac and n.dest then arpcache[n.mac:upper()] = n.dest:string() end - end) - + local devices = ntm:get_wifidevs() local netlist = { } local netdevs = { } @@ -119,7 +114,6 @@