diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/core/luasrc/model/cbi/admin_network/proto_static.lua | 2 | ||||
-rw-r--r-- | protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua b/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua index bc43a8d43..e700f47fb 100644 --- a/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua +++ b/protocols/core/luasrc/model/cbi/admin_network/proto_static.lua @@ -53,6 +53,8 @@ if luci.model.network:has_ipv6() then 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" 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", "") |