diff options
author | Paul Dee <itsascambutmailmeanyway@gmail.com> | 2022-10-05 15:18:01 +0200 |
---|---|---|
committer | Paul Dee <itsascambutmailmeanyway@gmail.com> | 2022-10-05 15:22:19 +0200 |
commit | a53fc7711cc067e7fca5f9f5df926ba929569863 (patch) | |
tree | a3a9518d55b21aca42c2f30f5490d01bae0e9e6c | |
parent | ca9a6d3c7ae0513ca1a5edb823931ffa47c1d68c (diff) |
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>
-rw-r--r-- | applications/luci-app-wireguard/htdocs/luci-static/resources/view/wireguard/status.js | 2 |
1 files changed, 1 insertions, 1 deletions
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'), |