diff options
author | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2009-06-02 21:09:43 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> | 2009-06-02 21:09:43 +0000 |
commit | 1dcfe0d19a8c47d87b8afbe800abdfb9bdbfed67 (patch) | |
tree | 63e9be8a9f645e16183afdee106455153e18d6a5 /applications | |
parent | ae5cc08ac8769118f672720ac76300fe4d2b6765 (diff) |
[applications] luci-olsr: Fix enable option for interfaces
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua | 3 |
1 files changed, 3 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 9f02b75ea7..74e2ba0d51 100644 --- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua +++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua @@ -101,6 +101,9 @@ ign = i: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 network = i:option(ListValue, "interface", translate("network")) luci.tools.webadmin.cbi_add_networks(network) |