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
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>
4 years ago
..
ipnlocal ipn/ipnlocal, health: populate self node's Online bit in tailscale status 4 years ago
ipnserver safesocket: add ConnectionStrategy, provide control over fallbacks 4 years ago
ipnstate ipn/ipnstate: remove old deprecated TailAddr IPv4-only field 4 years ago
localapi net/tsdial: move more weirdo dialing into new tsdial package, plumb 4 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 4 years ago
store/aws ipn/store/aws: support using sub-paths in parameters 4 years ago
backend.go ipn: use key.NodePublic instead of tailcfg.NodeKey 4 years ago
doc.go Move Linux client & common packages into a public repo. 6 years ago
fake_test.go ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up 5 years ago
handle.go ipn: another controlplane synonym 4 years ago
message.go ipn: don't log IPN messages that may contain an authkey. 4 years ago
message_test.go ipn: allow b to be nil in NewBackendServer 5 years ago
prefs.go ipn: fix formatting of ExitNodeIP in MaskedPrefs 4 years ago
prefs_clone.go cmd/cloner: mangle "go:generate" in cloner.go 4 years ago
prefs_test.go types/persist: use new node key type. 4 years ago
store.go ipn: remove mention of wgkey in comment. 4 years ago
store_test.go ipn: test TestFileStore in a fresh subdirectory 4 years ago