This commit is contained in:
jdl
2026-06-11 18:47:49 +02:00
parent 0902341322
commit 2b4cbae49c
4 changed files with 43 additions and 18 deletions

View File

@@ -96,6 +96,7 @@ func (a *App) switchActiveRelay() {
}
func preferredEndpoint(v4, v6 netip.AddrPort) netip.AddrPort {
// We always prefer v4 since all peers can connect to IPv4 addresses.
if v4.IsValid() {
return v4
}