m = Map("dawn", "Network Overview", translate("Network Overview")) m.pageaction = false s = m:section(NamedSection, "__networkoverview__") function s.render(self, sid) local tpl = require "luci.template" local json = require "luci.json" local utl = require "luci.util" tpl.render_string([[ <% local status = require "luci.tools.ieee80211" local utl = require "luci.util" local sys = require "luci.sys" local hosts = sys.net.host_hints() local stat = utl.ubus("dawn", "get_network", { }) local name, macs for name, macs in pairs(stat) do %>