From: Jo-Philipp Wich Date: Tue, 19 Aug 2008 14:07:25 +0000 (+0000) Subject: * luci/applications: make hna anouncments a tblsection in olsr model X-Git-Tag: 0.8.0~350 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7e61238f9662b492285b07b2c47a5c64966784a5;p=oweals%2Fluci.git * luci/applications: make hna anouncments a tblsection in olsr model --- diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua index 824b2b513..80fe53ccd 100644 --- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua +++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua @@ -116,6 +116,7 @@ for i, sect in ipairs({ "Hna4", "Hna6" }) do 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")