modules/admin-full: creating new ifaces was completely broken in trunk & 0.9, fix it
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Nov 2009 02:19:37 +0000 (02:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Nov 2009 02:19:37 +0000 (02:19 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/network.lua

index 508037fb036e6c2fb7b94c7c12ebf26a5d2480ad..8d34fa7cfff740be4c39e2392ee94e8c450e9213 100644 (file)
@@ -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