* luci/app/olsr: adept hna cbi model to new initscript
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 22 Sep 2008 15:33:14 +0000 (15:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 22 Sep 2008 15:33:14 +0000 (15:33 +0000)
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdhna.lua

index a5b6b1289ace6b699345c544b83f68f61f2a4113..632a4d4a4ba79e484fa41619651dd89d3df89ad4 100644 (file)
@@ -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