summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-14 14:51:06 +0000
committerSteven Barth <steven@midlink.org>2008-08-14 14:51:06 +0000
commit2c09564d762b692d970a531cca58eb52ba3807e7 (patch)
tree4d14c0d86e3cad8a6fcb9e5a39c104a0e80646e4 /applications/luci-olsr
parent8c246e81746fac0fc0ff07266058d4ace5acdd55 (diff)
modules/admin-core: Added several cross-references to relevant configuration pages
Diffstat (limited to 'applications/luci-olsr')
-rw-r--r--applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
index c57d3c8cb..824b2b513 100644
--- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
+++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
@@ -11,6 +11,7 @@ You may obtain a copy of the License at
$Id$
]]--
+require("luci.tools.webadmin")
require("luci.fs")
m = Map("olsr", "OLSR")
@@ -85,13 +86,7 @@ i.addremove = true
i.dynamic = true
network = i:option(ListValue, "Interface", translate("network"))
-network:value("")
-luci.model.uci.foreach("network", "interface",
- function (section)
- if section[".name"] ~= "loopback" then
- network:value(section[".name"])
- end
- end)
+luci.tools.webadmin.cbi_add_networks(network)
i:option(Value, "Ip4Broadcast")
i:option(Value, "HelloInterval")