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:
58c85cf
)
modules/admin-full: creating new ifaces was completely broken in trunk & 0.9, fix it
author
Jo-Philipp Wich
<redacted>
Wed, 25 Nov 2009 02:19:37 +0000
(
02:19
+0000)
committer
Jo-Philipp Wich
<redacted>
Wed, 25 Nov 2009 02:19:37 +0000
(
02:19
+0000)
modules/admin-full/luasrc/model/cbi/admin_network/network.lua
patch
|
blob
|
history
diff --git
a/modules/admin-full/luasrc/model/cbi/admin_network/network.lua
b/modules/admin-full/luasrc/model/cbi/admin_network/network.lua
index 508037fb036e6c2fb7b94c7c12ebf26a5d2480ad..8d34fa7cfff740be4c39e2392ee94e8c450e9213 100644
(file)
--- a/
modules/admin-full/luasrc/model/cbi/admin_network/network.lua
+++ b/
modules/admin-full/luasrc/model/cbi/admin_network/network.lua
@@
-25,6
+25,7
@@
local netstat = sys.net.deviceinfo()
s = m:section(TypedSection, "interface", "")
s.addremove = true
+s.anonymous = false
s.extedit = luci.dispatcher.build_url("admin", "network", "network") .. "/%s"
s.template = "cbi/tblsection"
s.override_scheme = true
git clone https://git.99rst.org/PROJECT