diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-10-12 00:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-12 00:05:34 +0200 |
commit | 50f84c7293a25187a46bf1cec41bf8c7c78452a9 (patch) | |
tree | fc42b5bdbaaa76b65944c36b7b6f775d37a98474 | |
parent | b139f13c0b328e4a944a00e0cc4e658b5eacbdf0 (diff) | |
parent | a53fc7711cc067e7fca5f9f5df926ba929569863 (diff) |
Merge pull request #6006 from systemcrash/luci-app-wireguard-fix
luci-app-wireguard: trivial fix to separate a peer's multiple IPs
-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'), |