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
Maisem Ali c60cbca371 control/controlclient: store netinfo and hostinfo separately
Currently, when SetNetInfo is called it sets the value on
hostinfo.NetInfo. However, when SetHostInfo is called it overwrites the
hostinfo field which may mean it also clears out the NetInfo it had just
received.
This commit stores NetInfo separately and combines it into Hostinfo as
needed so that control is always notified of the latest values.

Also, remove unused copies of Hostinfo from ipn.Status and
controlclient.Auto.

Updates #tailscale/corp#4824 (maybe fixes)

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
ipnlocal control/controlclient: store netinfo and hostinfo separately 2 years ago
ipnserver all: use any instead of interface{} 2 years ago
ipnstate wgengine, net/packet, cmd/tailscale: add ICMP echo 2 years ago
localapi cmd/tailscale, etc: make "tailscale up --ssh" fail fast when unavailable 2 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 3 years ago
store util/mak: move tailssh's mapSet into a new package for reuse elsewhere 2 years ago
backend.go wgengine, net/packet, cmd/tailscale: add ICMP echo 2 years ago
doc.go Move Linux client & common packages into a public repo. 4 years ago
fake_test.go wgengine, net/packet, cmd/tailscale: add ICMP echo 2 years ago
handle.go ipn: remove FakeExpireAfter Backend function 2 years ago
message.go wgengine, net/packet, cmd/tailscale: add ICMP echo 2 years ago
message_test.go all: use any instead of interface{} 2 years ago
prefs.go ipn: remove enforceDefaults option from PrefsFromBytes 2 years ago
prefs_clone.go wgengine/netstack: add an SSH server experiment 2 years ago
prefs_test.go ipn: remove enforceDefaults option from PrefsFromBytes 2 years ago
store.go ipn/store: add common package for instantiating ipn.StateStores 2 years ago