summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-12-25 00:44:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-12-25 00:44:38 +0000
commit9a6b4312493d750fe89c5b253f357e7399448c89 (patch)
tree2eca1df1955b1886b4ba940ddde392efdab14ada /modules
parentfc962c347c29cc9bb20d8587217f411035224201 (diff)
modules/admin-full: move alias-broadcast and alias-dns to advanced tab
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua7
1 files 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 d614337204..7a442b0d9a 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("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-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("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Gateway")).rmempty = true
-s2:taboption("general", Value, "bcast", translate("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Broadcast"))
-s2:taboption("general", Value, "dns", translate("<abbr title=\"Domain Name System\">DNS</abbr>-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("<abbr title=\"Internet Protocol Version 6\">IPv6</abbr>-Gateway"))
end
+s2:tab("advanced", translate("Advanced Settings"))
+s2:taboption("advanced", Value, "bcast", translate("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Broadcast"))
+s2:taboption("advanced", Value, "dns", translate("<abbr title=\"Domain Name System\">DNS</abbr>-Server"))
+
m2 = Map("dhcp", "", "")
function m2.on_parse()