luci-proto-wireguard: Escape IPv6 endpoints with [] in generated wireguard config
authorJonathan Duncan <JonathanDuncan@gmail.com>
Sun, 24 Sep 2023 15:16:35 +0000 (16:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 2 Nov 2023 10:44:15 +0000 (11:44 +0100)
commit32e1e8c564dc0d62a8ad43d589609e29b095e550
treebffb1355b6f52fcbb81905cc6da673d84c4aec24
parentcd4b8d5ca37d3e2fb360781f557cbfdc1b6a32b3
luci-proto-wireguard: Escape IPv6 endpoints with [] in generated wireguard config

Signed-off-by: Jonathan Duncan <JonathanDuncan@gmail.com>
(cherry picked from commit 527453ff4851a0594f804aa2c572e820706827c8)
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js