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/ipnlocal
Brad Fitzpatrick 8f43ddf1a2 ipn/ipnlocal, health: populate self node's Online bit in tailscale status
One option was to just hide "offline" in the text output, but that
doesn't fix the JSON output.

The next option was to lie and say it's online in the JSON (which then
fixes the "offline" in the text output).

But instead, this sets the self node's "Online" to whether we're in an
active map poll.

Fixes #3564

Change-Id: I9b379989bd14655198959e37eec39bb570fb814a
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
dnsconfig_test.go net/dns: add GetBaseConfig to CallbackRouter. 3 years ago
local.go ipn/ipnlocal, health: populate self node's Online bit in tailscale status 2 years ago
local_test.go all: gofmt -w -s (simplify) tests 2 years ago
loglines_test.go net/tsdial: move more weirdo dialing into new tsdial package, plumb 3 years ago
peerapi.go ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 3 years ago
peerapi_h2c.go ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 3 years ago
peerapi_macios_ext.go net/tsdial: move macOS/iOS peerapi sockopt logic from LocalBackend 3 years ago
peerapi_test.go ipn/ipnlocal: run peerapi even if Taildrop storage not configured 3 years ago
state_test.go ipn/ipnlocal: deflake (mostly) TestStateMachine 2 years ago