mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
feat: add ip-version param
This commit is contained in:
@@ -88,7 +88,7 @@ func (r *Resolver) ResolveAllIP(host string) (ips []netip.Addr, err error) {
|
||||
return nil, resolver.ErrIPNotFound
|
||||
}
|
||||
ips = append(ips, ipv6s...)
|
||||
case <-time.After(1 * time.Millisecond):
|
||||
case <-time.After(30 * time.Millisecond):
|
||||
// wait ipv6 result
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user