From a53fc7711cc067e7fca5f9f5df926ba929569863 Mon Sep 17 00:00:00 2001 From: Paul Dee Date: Wed, 5 Oct 2022 15:18:01 +0200 Subject: [PATCH] luci-app-wireguard: trivial fix to separate a peer's multiple IPs Attempts to address issue #6003 Signed-off-by: Paul Dee --- .../htdocs/luci-static/resources/view/wireguard/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-wireguard/htdocs/luci-static/resources/view/wireguard/status.js b/applications/luci-app-wireguard/htdocs/luci-static/resources/view/wireguard/status.js index b9c756de98..d4cb5902b6 100644 --- a/applications/luci-app-wireguard/htdocs/luci-static/resources/view/wireguard/status.js +++ b/applications/luci-app-wireguard/htdocs/luci-static/resources/view/wireguard/status.js @@ -115,7 +115,7 @@ function parsePeerData(peer) { ['endpoint', _('Endpoint'), peer.endpoint == '(none)' ? null : peer.endpoint], ['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'), peer.persistent_keepalive == 'off' ? null : peer.persistent_keepalive + 's'], ['latest_handshake', _('Latest Handshake'),