FF-Wizard: Fixed a typo which resulted in duplicate OLSR-Interfaces
authorSteven Barth <steven@midlink.org>
Mon, 15 Sep 2008 20:44:08 +0000 (20:44 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 15 Sep 2008 20:44:08 +0000 (20:44 +0000)
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua

index 6243aca..0e1ef28 100644 (file)
@@ -230,7 +230,7 @@ function olsr.write(self, section, value)
        local external  = community and uci:get("freifunk", community, "external") or ""
 
        -- Delete old interface
        local external  = community and uci:get("freifunk", community, "external") or ""
 
        -- Delete old interface
-       uci:delete_all("freifunk", "Interface", {Interface=device})
+       uci:delete_all("freifunk", "Interface", {interface=device})
 
        -- Write new interface
        local olsrbase = uci:get_all("freifunk", "olsr_interface")
 
        -- Write new interface
        local olsrbase = uci:get_all("freifunk", "olsr_interface")