Skip to content

Commit 21bcf44

Browse files
committed
ipn/wg: check ipn.Proxy equality using ptr handle
1 parent 8ceb66e commit 21bcf44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

intra/ipn/wgproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ func (h *wgproxy) Hop(via Proxy, dryrun bool) (err error) {
12081208
h.id, idhandle(old), err)
12091209
}
12101210
return nil
1211-
} else if h.id == via.ID() {
1211+
} else if Same(h, via) {
12121212
return errHopSelf
12131213
}
12141214

0 commit comments

Comments
 (0)