You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Joe Tsai ae89482f25
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>
1 year ago
..
ipnauth all: update copyright and license headers 2 years ago
ipnlocal ipn/ipnlocal: fix LocalBackend.WhoIs for self (#9472) 1 year ago
ipnserver logpolicy, various: allow overriding log function 1 year ago
ipnstate tailcfg: add NodeCapMap 1 year ago
localapi ipn/ipnlocal: fix missing controlknobs.Knobs plumbing 1 year ago
policy ipn: prefer allow/denylist terminology 2 years ago
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 1 year ago
backend.go ipn, ipn/ipnlocal: add session identifier for WatchIPNBus 1 year ago
doc.go all: update copyright and license headers 2 years ago
fake_test.go all: update copyright and license headers 2 years ago
ipn_clone.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 1 year ago
ipn_view.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 1 year ago
prefs.go ipn/ipnlocal: add tailnet MagicDNS name to ipn.LoginProfile 1 year ago
prefs_test.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 1 year ago
serve.go tailcfg: define a type for NodeCapability 1 year ago
serve_test.go tailcfg: define a type for NodeCapability 1 year ago
store.go ipn: avoid useless no-op WriteState calls 1 year ago
store_test.go ipn: avoid useless no-op WriteState calls 1 year ago