2 LuCI - Lua Configuration Interface
4 Copyright 2008 Steven Barth <steven@midlink.org>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
15 mh = Map("olsrd", translate("olsrd_hna", "OLSR - HNA-Ankündigungen"))
17 for i, sect in ipairs({ "Hna4", "Hna6" }) do
18 hna = mh:section(TypedSection, sect)
21 hna.template = "cbi/tblsection"
23 net = hna:option(Value, "netaddr")
24 msk = hna:option(Value, "netmask")