luci-base: network.js: de-dup ifc IPv6 addresses
authorKonstantin Glukhov <redacted>
Wed, 11 Mar 2026 06:16:30 +0000 (15:16 +0900)
committerPaul Donald <redacted>
Mon, 16 Mar 2026 21:04:55 +0000 (22:04 +0100)
commite839b9d18d4d67cefed0e5925199eeda38cb4b91
treec6e0139f119c998c61666f811d958101976503b8
parentc923488ddaafb74adbe0cc0dbe0c53d5826e1d30
luci-base: network.js: de-dup ifc IPv6 addresses

De-dup IPv6 addresses before getIP6Addrs() returns an array
from "ipv6-address" and "ipv6-prefix-assignment" ubus data.

This can happen when the local address derived from a delegated prefix
matches an explicitly configured IPv6 address. Use a Set to ensure that
duplicate entries are filtered out before returning the address list.

Signed-off-by: Konstantin Glukhov <redacted>
modules/luci-base/htdocs/luci-static/resources/network.js
git clone https://git.99rst.org/PROJECT