mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-14 21:31:16 +08:00
fix: udp default resolve ip
This commit is contained in:
parent
99effb051b
commit
db94dc76b4
@ -103,7 +103,8 @@ func resolveUDPAddrWithPrefer(network, address string, prefer C.DNSPrefer) (*net
|
||||
}
|
||||
ip = fallback
|
||||
}
|
||||
case C.IPv4Prefer | C.DualStack:
|
||||
default:
|
||||
// C.IPv4Prefer, C.DualStack and other
|
||||
var ips []netip.Addr
|
||||
ips, err = resolver.ResolveAllIPProxyServerHost(host)
|
||||
var fallback netip.Addr
|
||||
|
Loading…
Reference in New Issue
Block a user