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>
This commit is contained in:
parent
5b2bc99c30
commit
9116a93d43
2 changed files with 2 additions and 2 deletions
|
@ -1155,7 +1155,7 @@ return view.extend({
|
|||
|
||||
return [
|
||||
host || '-',
|
||||
lease.ip6addrs ? lease.ip6addrs.join(' ') : lease.ip6addr,
|
||||
lease.ip6addrs ? lease.ip6addrs.join('<br />') : lease.ip6addr,
|
||||
lease.duid,
|
||||
exp
|
||||
];
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue