feat(ipv6): prefer IPv6 endpoints when IPv6 is supported

This commit is contained in:
Quentin McGaw
2026-05-04 13:21:52 +00:00
parent 3e59447e58
commit aab10f9d3f
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -124,8 +124,8 @@ func Test_GetConnection(t *testing.T) {
VPN: vpn.OpenVPN,
UDP: true,
IPs: []netip.Addr{
netip.IPv6Unspecified(),
netip.AddrFrom4([4]byte{1, 1, 1, 1}),
netip.IPv6Unspecified(),
},
},
},