From: Jo-Philipp Wich Date: Wed, 25 Nov 2009 02:19:37 +0000 (+0000) Subject: modules/admin-full: creating new ifaces was completely broken in trunk & 0.9, fix it X-Git-Tag: 0.10.0~915 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19b690c7d543c3eedcaef938d730a8e6564cf757;p=oweals%2Fluci.git modules/admin-full: creating new ifaces was completely broken in trunk & 0.9, fix it --- 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 508037fb0..8d34fa7cf 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