summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-03 18:14:37 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-03 18:14:37 +0000
commitd9fd5a4c9e422f038260e645b227c416a2edf350 (patch)
treeceeb0e4c7c6c4fe22608089674fb9cba18a53c1c /applications/luci-olsr/luasrc/model
parentceaca7e7cee59348f636ef6656e96f32037f5b8b (diff)
applications/olsrd-luci: fix enable interface checkbox in webif
Diffstat (limited to 'applications/luci-olsr/luasrc/model')
-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 6be1761ca..9f02b75ea 100644
--- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
+++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
@@ -100,6 +100,7 @@ i.dynamic = true
ign = i:option(Flag, "ignore", "Enable")
ign.enabled = "0"
ign.disabled = "1"
+ign.rmempty = false
network = i:option(ListValue, "interface", translate("network"))
luci.tools.webadmin.cbi_add_networks(network)