luci-proto-wireguard: fixed incorrect peer detection for ipv6 and default port
authorTom Haley <[email protected]>
Thu, 5 Dec 2024 07:54:19 +0000 (10:54 +0300)
committerPaul Donald <[email protected]>
Thu, 5 Dec 2024 17:14:00 +0000 (18:14 +0100)
commitd52505ee03b5bc8401e2af6665d11afedfeeedfb
tree540f1cccc44edbb9019dbbc7044ec4da589b3ffc
parentff64d5ee98a90f61c012782512d3ed450a6e2f41
luci-proto-wireguard: fixed incorrect peer detection for ipv6 and default port

Fixed incorrect peer detection if IP v6 is used and no port for peer is defined.

Signed-off-by: Tom Haley <[email protected]>
(cherry picked from commit 461d632d5c57bb179f2dae0b164b2d7d99d7432c)
protocols/luci-proto-wireguard/root/usr/share/rpcd/ucode/luci.wireguard