mirror of https://github.com/tailscale/tailscale/
ipn/ipnlocal: fix LocalBackend.WhoIs for self (#9472)
9538e9f970
broke LocalBackend.WhoIs
where you can no longer lookup yourself in WhoIs.
This occurs because the LocalBackend.peers map only contains peers.
If we fail to lookup a peer, double-check whether it is ourself.
Fixes #9470
Signed-off-by: Joe Tsai <joetsai@digital-static.net>
Co-authored-by: Rhea Ghosh <rhea@tailscale.com>
pull/9487/head
parent
c5b2a365de
commit
ae89482f25
Loading…
Reference in New Issue