luci-mod-network: put each IPv6 address on a separate line
authorDavid Härdeman <david@hardeman.nu>
Wed, 7 Feb 2024 14:41:48 +0000 (15:41 +0100)
committerPaul Donald <newtwen@gmail.com>
Thu, 8 Feb 2024 13:43:01 +0000 (14:43 +0100)
commite6784f3a689f11960033f5a26d612489b2eb0007
treedd5621f9ddd8dca1ce69d441b137eedd315860e2
parent15a2b6db60c2f24cee515d137a218db229485e1f
luci-mod-network: put each IPv6 address on a separate line

Right now, when there's active DHCPv6 leases and more than one address per host
(e.g. because ULA is used together with GUA prefixes), the two IPv6 addresses
will be printed on one line (which may or may not get broken up depending on
the length of the addresses, which also looks inconsistent).

Putting each address on a separate line makes it much easier to read the
addresses (IMHO).

Signed-off-by: David Härdeman <david@hardeman.nu>
(cherry picked from commit 9116a93d4311f541efa026f9eb3309a5f7554fd4)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js