changes = "Changes"
channel = "Channel"
+cidr6 = "CIDR-Notation: address/prefix"
code = "Code"
config = "Configuration"
configfile = "Configuration file"
filesystem = "Filesystem"
filter = "Filter"
-gateway = "Gateway"
+gateway = "IPv4-Gateway"
+gateway6 = "IPv6-Gateway"
general = "General"
hostname = "Hostname"
installed = "installed"
interface = "Interface"
interfaces = "Interfaces"
-ipaddress = "IP-Address"
+ipaddress = "IPv4-Address"
+ip6address = "IPv6-Address"
legend = "Legend"
library = "Library"
mode = "Mode"
name = "Name"
-netmask = "Netmask"
+netmask = "IPv4-Netmask"
network = "Network"
networks = "Networks"
notinstalled = "not installed"
changes = "Ă„nderungen"
channel = "Kanal"
+cidr6 = "CIDR-Notation: Adresse/Prefix"
code = "Code"
config = "Konfiguration"
configfile = "Konfigurationsdatei"
filesystem = "Dateisystem"
filter = "Filter"
-gateway = "Gateway"
+gateway = "IPv4-Gateway"
+gateway6 = "IPv6-Gateway"
general = "Allgemeines"
hostname = "Hostname"
installed = "installiert"
interface = "Schnittstelle"
interfaces = "Schnittstellen"
-ipaddress = "IP-Adresse"
+ipaddress = "IPv4-Adresse"
+ip6address = "IPv6-Adresse"
legend = "Legende"
library = "Bibliothek"
mode = "Modus"
name = "Name"
-netmask = "Netzmaske"
+netmask = "IPv4-Netzmaske"
network = "Netzwerk"
networks = "Netzwerke"
notinstalled = "nicht installiert"
end
end
-s:option(Value, "ipaddr", translate("ipaddress"))
+ipaddr = s:option(Value, "ipaddr", translate("ipaddress"))
+ipaddr.rmempty = true
+ipaddr:depends("proto", "static")
nm = s:option(Value, "netmask", translate("netmask"))
+nm.rmempty = true
nm:depends("proto", "static")
nm:value("255.255.255.0")
nm:value("255.255.0.0")
gw:depends("proto", "static")
gw.rmempty = true
+ip6addr = s:option(Value, "ip6addr", translate("ip6address"), translate("cidr6"))
+ip6addr.rmempty = true
+ip6addr:depends("proto", "static")
+
+ip6gw = s:option(Value, "ip6gw", translate("gateway6"))
+ip6gw:depends("proto", "static")
+ip6gw.rmempty = true
+
dns = s:option(Value, "dns", translate("dnsserver"))
dns:depends("proto", "static")
dns.optional = true