chroe: wrong variable
This commit is contained in:
parent
7b44cde4bd
commit
6c204d2b77
@ -92,7 +92,6 @@ func resolveUDPAddrWithPrefer(ctx context.Context, network, address string, pref
|
|||||||
case C.IPv6Prefer:
|
case C.IPv6Prefer:
|
||||||
var ips []netip.Addr
|
var ips []netip.Addr
|
||||||
ips, err = resolver.LookupIPProxyServerHost(ctx, host)
|
ips, err = resolver.LookupIPProxyServerHost(ctx, host)
|
||||||
var fallback netip.Addr
|
|
||||||
if err == nil {
|
if err == nil {
|
||||||
for _, addr := range ips {
|
for _, addr := range ips {
|
||||||
if addr.Is6() {
|
if addr.Is6() {
|
||||||
|
Reference in New Issue
Block a user