luci-mod-status: support DUID%IAID for static leases
authorDavid Härdeman <[email protected]>
Sun, 5 Oct 2025 11:27:29 +0000 (13:27 +0200)
committerPaul Donald <[email protected]>
Fri, 24 Oct 2025 18:23:34 +0000 (20:23 +0200)
commit85cb4bbd82129f4bb77418c53de14f69b8ae0333
tree51e9f0c21fc2ad85a3c79e8379dae60dcb7efa32
parent431787af0c63bf26ba30a51faf742f42dcd842e4
luci-mod-status: support DUID%IAID for static leases

Add support for creating DUID%IAID style static leases in luci-mod-status.

Also, this contains a bugfix. lease.ip6addrs[i] is a string of the format
"<ipv6addr>/128", which validation.parseIPv6() doesn't like (it expects an IPv6
addr without the "/128" suffix).

Signed-off-by: David Härdeman <[email protected]>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js