summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-08-19 14:07:25 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-08-19 14:07:25 +0000
commit7e61238f9662b492285b07b2c47a5c64966784a5 (patch)
tree454fe2f7a8293fc038ec4e1d665cdf111f8550c3 /applications/luci-olsr/luasrc
parente5608ae6b2896b5ad7d9d7c8f73b6ec1efaaddcf (diff)
* luci/applications: make hna anouncments a tblsection in olsr model
Diffstat (limited to 'applications/luci-olsr/luasrc')
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua1
1 files changed, 1 insertions, 0 deletions
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")