* luci/applications: make hna anouncments a tblsection in olsr model
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 19 Aug 2008 14:07:25 +0000 (14:07 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 19 Aug 2008 14:07:25 +0000 (14:07 +0000)
applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua

index 824b2b5..80fe53c 100644 (file)
@@ -116,6 +116,7 @@ for i, sect in ipairs({ "Hna4", "Hna6" }) do
        hna = m:section(TypedSection, sect)
        hna.addremove = true
        hna.anonymous = true
        hna = m:section(TypedSection, sect)
        hna.addremove = true
        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, "Prefix")