applications/olsrd-luci: fix enable interface checkbox in webif
[project/luci.git] / applications / luci-olsr / luasrc / model / cbi / olsr / olsrd.lua
index 09d1835..9f02b75 100644 (file)
@@ -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)
@@ -128,7 +129,7 @@ adc.enabled  = "yes"
 adc.disabled = "no"
 adc.optional = true
 
-
+--[[
 ipc = m:section(TypedSection, "IpcConnect")
 ipc.anonymous = true
 
@@ -140,6 +141,6 @@ nets.optional = true
 
 hosts = ipc:option(Value, "Host")
 hosts.optional = true
-
+]]
 
 return m