chroe: wrong variable

This commit is contained in:
Skyxim 2022-11-25 20:53:08 +08:00
parent 7b44cde4bd
commit 6c204d2b77

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() {