mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
feat(ipv6): prefer IPv6 endpoints when IPv6 is supported
This commit is contained in:
@@ -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(),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user