From ae6c1f618f3618e386863b655a3be02de14d8f3b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 1 Jan 2009 13:55:40 +0000 Subject: modules/admin-full: fix diversity setting for atheros cards applications/olsr: fix enable/disable for olsrd plugins --- applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'applications/luci-olsr/luasrc/model') diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua index 6a498a5b2..a0d6a2357 100644 --- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua +++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua @@ -26,6 +26,7 @@ if arg[1] then ign = p:option(Flag, "ignore", "Enable") ign.enabled = "0" ign.disabled = "1" + ign.rmempty = false function ign.cfgvalue(self, section) return Flag.cfgvalue(self, section) or "0" end @@ -230,8 +231,9 @@ else end ign = t:option( Flag, "ignore", "Enabled" ) - ign.enabled = "0" + ign.enabled = "0" ign.disabled = "1" + ign.rmempty = false function ign.cfgvalue(self, section) return Flag.cfgvalue(self, section) or "0" end -- cgit v1.2.3