* luci/app-ffwizard: fix deletion of olsrd interface

This commit is contained in:
Jo-Philipp Wich 2008-09-15 21:23:03 +00:00
parent 7ea3e1a5e6
commit bf80f902c5

View 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("olsrd", "Interface", {interface=device})
-- Write new interface
local olsrbase = uci:get_all("freifunk", "olsr_interface")