Skip to content

Commit c439342

Browse files
committed
ipn/proxy.go: m log
1 parent 0dd8a94 commit c439342

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

intra/ipn/proxy.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -661,15 +661,15 @@ func httpsReachesWorkCtx(p Proxy, url *url.URL) core.WorkCtx[bool] {
661661
}
662662
}
663663

664-
n := rand.Intn(len(ipps))
665-
666-
logeif(len(ipps) == 0)("proxy: %s reaches: dial(%s, %s => %d [among %v]) for %s",
667-
idstr(p), network, addr, n, ipps, url)
664+
logeif(len(ipps) == 0)("proxy: %s reaches: dial(%s, %s [among %v]) for %s",
665+
idstr(p), network, addr, ipps, url)
668666

669667
if len(ipps) <= 0 {
670668
return nil, errNoSuitableAddress
671669
}
672670

671+
n := rand.Intn(len(ipps))
672+
673673
// filter out the revelant IPs ourselves as dialers pkg does not
674674
// respect ip-specific network type "tcp4" or "tcp6"
675675
// see: cdial.go:commondial2()

0 commit comments

Comments
 (0)