luci-proto-wireguard: fixed bug with incorrect peer name detection
Fixed bug with incorrect peer name detection on `Status -> WireGuard`
page when more than one peer with the same public key exist:
1. Peers are now tested not only by public key, but also by
enabled/disabled status, peer host (both IP and FQDN are supported)
and port.
2. Added required `resolveip` dependency.
Closes #7342
Signed-off-by: @this-username-has-been-taken
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
7acea818735a9c5e8577d6b57f359996956f15e4)
luci-proto-wireguard: follow-up fix for status overview
follow-up to
7acea818735a9c5e8577d6b57f359996956f15e4
Closes #7347
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit
760ac165fa76952161e82bd825d9c757a10e0436)