summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-04-09 09:38:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-04-09 09:38:33 +0000
commit7ba8d31df743ee89816693e0d56881a0adc7bfa8 (patch)
tree0c8095f3bc83e1808d71ce92c270d1fc8269bcde /modules/admin-full
parent4a56b4f0091dffb0c3bce8d54b3b877d2a5dac7a (diff)
Add LuCI support for newly introduced IPv6 options
Diffstat (limited to 'modules/admin-full')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/ipv6.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ipv6.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ipv6.lua
index 24cfa5150..aec408bf6 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/ipv6.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/ipv6.lua
@@ -70,8 +70,14 @@ o:depends("dhcpv6", "relay")
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