modules/admin-full: addremove in inface config pages makes no sense anymore
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 10 Oct 2009 18:50:24 +0000 (18:50 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 10 Oct 2009 18:50:24 +0000 (18:50 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua

index 5154688..b04766f 100644 (file)
@@ -33,7 +33,7 @@ nw.init(m.uci)
 fw.init(m.uci)
 
 s = m:section(NamedSection, arg[1], "interface")
 fw.init(m.uci)
 
 s = m:section(NamedSection, arg[1], "interface")
-s.addremove = true
+s.addremove = false
 
 s:tab("general", translate("a_n_general", "General Setup"))
 if has_ipv6 then s:tab("ipv6", translate("a_n_ipv6", "IPv6 Setup")) end
 
 s:tab("general", translate("a_n_general", "General Setup"))
 if has_ipv6 then s:tab("ipv6", translate("a_n_ipv6", "IPv6 Setup")) end