chroe: wrong variable

This commit is contained in:
gVisor bot 2022-11-25 20:53:08 +08:00
parent 69b223041c
commit fd80dbfdf3

View file

@ -92,7 +92,6 @@ func resolveUDPAddrWithPrefer(ctx context.Context, network, address string, pref
case C.IPv6Prefer:
var ips []netip.Addr
ips, err = resolver.LookupIPProxyServerHost(ctx, host)
var fallback netip.Addr
if err == nil {
for _, addr := range ips {
if addr.Is6() {