projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add LuCI support for newly introduced IPv6 options
[project/luci.git]
/
protocols
/
ipv6
/
luasrc
/
model
/
cbi
/
admin_network
/
proto_dhcpv6.lua
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
ad2430a
..
3c67206
100644
(file)
--- 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.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", "")
o = section:taboption("advanced", DynamicList, "dns",
translate("Use custom DNS servers"))
o:depends("peerdns", "")