modules/admin-full: move alias-broadcast and alias-dns to advanced tab
This commit is contained in:
parent
fc962c347c
commit
9a6b431249
1 changed files with 4 additions and 3 deletions
|
@ -353,7 +353,6 @@ s2:depends("interface", arg[1])
|
||||||
s2.defaults.interface = arg[1]
|
s2.defaults.interface = arg[1]
|
||||||
|
|
||||||
s2:tab("general", translate("General Setup"))
|
s2:tab("general", translate("General Setup"))
|
||||||
|
|
||||||
s2.defaults.proto = "static"
|
s2.defaults.proto = "static"
|
||||||
|
|
||||||
s2:taboption("general", Value, "ipaddr", translate("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Address")).rmempty = true
|
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")
|
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, "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
|
if has_ipv6 then
|
||||||
s2:tab("ipv6", translate("IPv6 Setup"))
|
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"))
|
s2:taboption("ipv6", Value, "ip6gw", translate("<abbr title=\"Internet Protocol Version 6\">IPv6</abbr>-Gateway"))
|
||||||
end
|
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", "", "")
|
m2 = Map("dhcp", "", "")
|
||||||
function m2.on_parse()
|
function m2.on_parse()
|
||||||
|
|
Loading…
Reference in a new issue