From: Jo-Philipp Wich Date: Tue, 27 Oct 2009 21:42:04 +0000 (+0000) Subject: modules/admin-full: save wireless uci as well after iface add X-Git-Tag: 0.10.0~1061 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=839e150ea931b2989ea3cf9b4b86bcc17360decc;p=oweals%2Fluci.git modules/admin-full: save wireless uci as well after iface add --- diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua b/modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua index 759a7c9bf..93cdecac7 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua @@ -91,6 +91,7 @@ function attachnet.write(self, section, value) zone:add_network(net:name()) end + uci:save("wireless") uci:save("network") uci:save("firewall") luci.http.redirect(luci.dispatcher.build_url("admin/network/network", net:name()))