X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fmodel%2Fcbi%2Fadmin_network%2Fipv6.lua;fp=modules%2Fadmin-full%2Fluasrc%2Fmodel%2Fcbi%2Fadmin_network%2Fipv6.lua;h=ba91475dd49e7d6187a803cbbefacccb1179cb39;hp=ae9bc63386d1649044f1fb28e6c957b8aa1935d3;hb=5200eb1577777766a831bdcbb76ce8769af0da08;hpb=029631ec489b2d28a9e4b3a6ef4f2de9e999b956
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 ae9bc63386..ba91475dd4 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/ipv6.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/ipv6.lua
@@ -84,4 +84,19 @@ o:depends("rd", "server")
o = s:option(Flag, "compat_ula", translate("ULA-preference compatibility"),
translate("Work around IPv6 address-selection issues of some devices."))
+m:section(SimpleSection).template = "admin_network/lease_status"
+
+s = m:section(TypedSection, "lease", translate("Static Leases"),
+ translate("Static leases are used to assign fixed IPv6 Interface-IDs to clients. Interface-IDs are appended to available prefixes to form IPv6-addresses. " ..
+ " (e.g. a prefix of 2001:db80::/64 combined with Interface-ID 123456 will form the address 2001:db80::12:3456)") .. "
" ..
+ translate("Use the Add Button to add a new lease entry. The DUID " ..
+ "indentifies the host, the Interface-ID specifies the ID to use in addresses."))
+
+s.addremove = true
+s.anonymous = true
+s.template = "cbi/tblsection"
+
+s:option(Value, "duid", translate("DUID")).optional = false
+s:option(Value, "id", translate("Interface-ID")).optional = false
+
return m