summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2024-02-07 15:41:48 +0100
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2024-02-08 02:07:49 +0100
commit9116a93d4311f541efa026f9eb3309a5f7554fd4 (patch)
tree383a314e789ecfbb8040740d0f03e1a8e6bd681a /modules/luci-mod-status
parent5b2bc99c30b80c3a706de3133a8c05f852dc08d1 (diff)
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>
Diffstat (limited to 'modules/luci-mod-status')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
index 4c52916423..0894d3d4d1 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
@@ -161,7 +161,7 @@ return baseclass.extend({
rows = [
host || '-',
- lease.ip6addrs ? lease.ip6addrs.join(' ') : lease.ip6addr,
+ lease.ip6addrs ? lease.ip6addrs.join('<br />') : lease.ip6addr,
lease.duid,
exp
];