From 9a6b4312493d750fe89c5b253f357e7399448c89 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 25 Dec 2009 00:44:38 +0000 Subject: [PATCH] modules/admin-full: move alias-broadcast and alias-dns to advanced tab --- .../admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua index d61433720..7a442b0d9 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -353,7 +353,6 @@ s2:depends("interface", arg[1]) s2.defaults.interface = arg[1] s2:tab("general", translate("General Setup")) - s2.defaults.proto = "static" s2:taboption("general", Value, "ipaddr", translate("IPv4-Address")).rmempty = true @@ -365,8 +364,6 @@ nm:value("255.255.0.0") nm:value("255.0.0.0") s2:taboption("general", Value, "gateway", translate("IPv4-Gateway")).rmempty = true -s2:taboption("general", Value, "bcast", translate("IPv4-Broadcast")) -s2:taboption("general", Value, "dns", translate("DNS-Server")) if has_ipv6 then s2:tab("ipv6", translate("IPv6 Setup")) @@ -374,6 +371,10 @@ if has_ipv6 then s2:taboption("ipv6", Value, "ip6gw", translate("IPv6-Gateway")) end +s2:tab("advanced", translate("Advanced Settings")) +s2:taboption("advanced", Value, "bcast", translate("IPv4-Broadcast")) +s2:taboption("advanced", Value, "dns", translate("DNS-Server")) + m2 = Map("dhcp", "", "") function m2.on_parse() -- 2.25.1