luci-app-wireguard: trivial fix to separate a peer's multiple IPs
Attempts to address issue #6003 Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
This commit is contained in:
parent
ca9a6d3c7a
commit
a53fc7711c
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ function parsePeerData(peer) {
|
||||||
['endpoint', _('Endpoint'),
|
['endpoint', _('Endpoint'),
|
||||||
peer.endpoint == '(none)' ? null : peer.endpoint],
|
peer.endpoint == '(none)' ? null : peer.endpoint],
|
||||||
['allowed_ips', _('Allowed IPs'),
|
['allowed_ips', _('Allowed IPs'),
|
||||||
peer.allowed_ips.length == 0 ? null : peer.allowed_ips.join('\n')],
|
peer.allowed_ips.length == 0 ? null : peer.allowed_ips.join(', ')],
|
||||||
['persistent_keepalive', _('Persistent Keepalive'),
|
['persistent_keepalive', _('Persistent Keepalive'),
|
||||||
peer.persistent_keepalive == 'off' ? null : peer.persistent_keepalive + 's'],
|
peer.persistent_keepalive == 'off' ? null : peer.persistent_keepalive + 's'],
|
||||||
['latest_handshake', _('Latest Handshake'),
|
['latest_handshake', _('Latest Handshake'),
|
||||||
|
|
Loading…
Reference in a new issue