[s.mac:lower()].policy="whitelist"
		end
	end)

uci:foreach("luci_splash", "blacklist",
	function(s)
		if s.mac and clients[s.mac:lower()] then
			clients[s.mac:lower()].policy=(s.kicked and "kicked" or "blacklist")
		end
	end)		

if fs.access(leasefile) then
	for l in io.lines(leasefile) do
		local time, mac, ip, name = l:match("^(%d+) (%S+) (%S+) (%S+)")
		if time and mac and ip then
			local c = clients[mac:lower()]
			if c then
				c.ip = ip
				c.hostname = ( name ~= "*" ) and name or nil
			end
		end
