modules/admin-full: fix wireless bridging from within wifi config page

This commit is contained in:
Jo-Philipp Wich 2011-01-30 01:30:22 +00:00
parent b1b49f746a
commit 7433b822ba

View file

@ -322,7 +322,7 @@ function network.write(self, section, value)
else
local n = nw:get_network(value)
if n then
n:type("bridge")
n:set("type", "bridge")
n:add_interface(i)
end
end