From d46dc677e252b495d07e16b7d79d06a0c79ed1de Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 22 Sep 2008 15:33:14 +0000 Subject: * luci/app/olsr: adept hna cbi model to new initscript --- applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-olsr/luasrc/model/cbi') diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua index a5b6b1289a..632a4d4a4b 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 -- cgit v1.2.3