luci-proto-wireguard: Fix incorrect peer detection for IP v6
authorTom Haley <this_username_has_been_taken2@proton.me>
Mon, 2 Dec 2024 15:40:32 +0000 (18:40 +0300)
committerPaul Donald <newtwen+github@gmail.com>
Mon, 2 Dec 2024 17:22:15 +0000 (18:22 +0100)
commit5c97a89684cbc9eb6cf891f44cfd7f89237c52d4
tree3ceb01e5ed8194dc4ecfaa2c868755e1f3042782
parent0ca52ebe27e96f01b82250e58a375bac0def9561
luci-proto-wireguard: Fix incorrect peer detection for IP v6

This commit fixes incorrect peer detection when using IP v6 by deleting all the square the square brackets from the wgHost variable.

Signed-off-by: Tom Haley <this_username_has_been_taken2@proton.me>
protocols/luci-proto-wireguard/root/usr/share/rpcd/ucode/luci.wireguard