summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-27 21:42:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-27 21:42:04 +0000
commit839e150ea931b2989ea3cf9b4b86bcc17360decc (patch)
treeb9e4aceeed2eb262104cab4bf0ba6643f3d40b36 /modules/admin-full/luasrc
parent0698926009eaf0733618cee81c4358aa30af75c9 (diff)
modules/admin-full: save wireless uci as well after iface add
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua1
1 files changed, 1 insertions, 0 deletions
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()))