o:depends("fallback_relay", "rd")
o:depends("fallback_relay", "dhcpv6")
+o = s:option(Value, "rewrite_dns_addr", translate("Override announced DNS-server"),
+ translate("Announce a custom DNS-server instead of the local one."))
+
o = s:option(Flag, "always_assume_default", translate("Always announce default router"),
translate("Announce as default router even if no public prefix is available."))
o:depends("rd", "server")
+o = s:option(Flag, "compat_ula", translate("ULA-preference compatibility"),
+ translate("Work around IPv6 address-selection issues of some devices."))
+
return m
ip6assign:value("64")
ip6assign.datatype = "max(64)"
+ local ip6hint = section:taboption("general", Value, "ip6hint", translate("IPv6 assignment hint"),
+ translate("Assign prefix parts using this hexadecimal subprefix ID for this interface."))
ip6addr = section:taboption("general", Value, "ip6addr", translate("IPv6 address"))
ip6addr.datatype = "ip6addr"
o.default = o.enabled
+o = section:taboption("advanced", Value, "ip6prefix",
+ translate("Custom delegated IPv6-prefix"))
+o.dataype = "ip6addr"
+
+
o = section:taboption("advanced", DynamicList, "dns",
translate("Use custom DNS servers"))
o:depends("peerdns", "")