summaryrefslogtreecommitdiffhomepage
path: root/protocols/ipv6
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 /protocols/ipv6
parent4a56b4f0091dffb0c3bce8d54b3b877d2a5dac7a (diff)
Add LuCI support for newly introduced IPv6 options
Diffstat (limited to 'protocols/ipv6')
-rw-r--r--protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua
index ad2430a8d..3c672061d 100644
--- a/protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua
+++ b/protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua
@@ -45,6 +45,11 @@ o = section:taboption("advanced", Flag, "peerdns",
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", "")