git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
0698926
)
modules/admin-full: save wireless uci as well after iface add
author
Jo-Philipp Wich
<redacted>
Tue, 27 Oct 2009 21:42:04 +0000
(21:42 +0000)
committer
Jo-Philipp Wich
<redacted>
Tue, 27 Oct 2009 21:42:04 +0000
(21:42 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua
patch
|
blob
|
history
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 759a7c9bfb8a1269d42914252955b4ad48fbc9e6..93cdecac78518de8f3632cf4877bffee31031207 100644
(file)
--- 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()))
git clone https://git.99rst.org/PROJECT