modules/admin-full: creating new ifaces was completely broken in trunk & 0.9, fix it

This commit is contained in:
Jo-Philipp Wich 2009-11-25 02:19:37 +00:00
parent 58c85cfbb9
commit 19b690c7d5

View 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