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 508037f..8d34fa7 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