<%#
 Copyright 2008 Steven Barth <steven@midlink.org>
 Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
 Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
 Licensed to the public under the Apache License 2.0.
-%>

<%
local i = 1

if luci.http.formvalue("status") == "1" then
	local rv = {}
	for k, hna in ipairs(hna) do
		rv[#rv+1] = {
			proto = hna["proto"],
			destination = hna["destination"],
			genmask = hna["genmask"],
			gateway = hna["gateway"],
			hostname = hna["hostname"],
			validityTime = 