chroe: wrong variable
This commit is contained in:
parent
69b223041c
commit
fd80dbfdf3
1 changed files with 0 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue