diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2023-09-20 13:46:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-20 13:46:19 -0700 |
| commit | ae89482f2552a2d8b5272fd5a3d626488537589b (patch) | |
| tree | b14023c2c8ffde0937afe674d3afe1adcad6f55e /control/controlknobs/controlknobs.go | |
| parent | c5b2a365de778bfc666ebb419109c6bf7df88345 (diff) | |
| download | tailscale-ae89482f2552a2d8b5272fd5a3d626488537589b.tar.xz tailscale-ae89482f2552a2d8b5272fd5a3d626488537589b.zip | |
ipn/ipnlocal: fix LocalBackend.WhoIs for self (#9472)
9538e9f97035ce7a382d2b395db3368bd0326113 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>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions
