summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-25 02:19:37 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-25 02:19:37 +0000
commit19b690c7d543c3eedcaef938d730a8e6564cf757 (patch)
tree5dbe6d2b34a0cf988ebef08fe5d4f8dfddec4931 /modules/admin-full
parent58c85cfbb901d83bb39ff6b8ee74f73a08335779 (diff)
modules/admin-full: creating new ifaces was completely broken in trunk & 0.9, fix it
Diffstat (limited to 'modules/admin-full')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/network.lua1
1 files changed, 1 insertions, 0 deletions
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 508037fb03..8d34fa7cff 100644
--- 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