Skip to content

Commit 42414ce

Browse files
committed
agent: ipn/proxies.go var names
1 parent ac8128f commit 42414ce

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

intra/ipn/proxies.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ func (px *proxifier) ProxyTo(ipp netip.AddrPort, uid string, pids []string) (_ P
541541
err := px.pin(uid, ipp, p) // repin
542542
if err == nil {
543543
log.VV("proxy: pin: %s+%s; pinned: %s; from pids: %v",
544-
uid, ipp, pid, pids)
544+
uid, ippstr, pid, pids)
545545
return p, nil
546546
} // else: proxy not ok
547547
notokproxies = append(notokproxies, pid)
@@ -886,10 +886,10 @@ func (px *proxifier) stopProxies() {
886886
px.rpnmu.Lock()
887887
n := len(px.rp)
888888
for _, rp := range px.rp {
889-
x := rp
890-
id := idstr(x)
889+
curpRp := rp
890+
id := idstr(curpRp)
891891
core.Go("pxr.stopProxies.purgeRpn: "+id, func() {
892-
_ = x.PurgeAll()
892+
_ = curpRp.PurgeAll()
893893
})
894894
}
895895
clear(px.rp)

0 commit comments

Comments
 (0)