mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-05 17:13:32 +08:00
fix: udp default resolve ip
This commit is contained in:
parent
2022605546
commit
eeac5354a1
@ -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…
x
Reference in New Issue
Block a user