summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-22 15:33:14 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-22 15:33:14 +0000
commitd46dc677e252b495d07e16b7d79d06a0c79ed1de (patch)
treed329a17cf6f5b79f42b385461907677c5252a5e9 /applications/luci-olsr/luasrc/model
parent845f00d0b39787b5fbe7d5eab79b224b3917132c (diff)
* luci/app/olsr: adept hna cbi model to new initscript
Diffstat (limited to 'applications/luci-olsr/luasrc/model')
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
index a5b6b1289..632a4d4a4 100644
--- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
+++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
@@ -20,8 +20,8 @@ for i, sect in ipairs({ "Hna4", "Hna6" }) do
hna.anonymous = true
hna.template = "cbi/tblsection"
- net = hna:option(Value, "NetAddr")
- msk = hna:option(Value, "Prefix")
+ net = hna:option(Value, "netaddr")
+ msk = hna:option(Value, "netmask")
end
return mh