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 6243acac52095e9eaacd36274839017234a2bb36..0e1ef28631de0863e51b82a5380383fd9f75ce58 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
-       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")