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/control/controlclient
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>
3 years ago
..
auto.go control/controlclient: store netinfo and hostinfo separately 3 years ago
client.go ssh/tailssh, ipnlocal, controlclient: fetch next SSHAction from network 3 years ago
controlclient_test.go control/controlclient: store netinfo and hostinfo separately 3 years ago
debug.go
debug_test.go
direct.go control/controlclient: store netinfo and hostinfo separately 3 years ago
direct_test.go net/tsdial: add SystemDial as a wrapper on netns.Dial 3 years ago
map.go control/controlclient, ipn/ipnlocal, tailcfg: add MapResponse.PopBrowserURL 3 years ago
map_test.go control/controlclient: stop using wgkey. 3 years ago
noise.go net/tsdial: add SystemDial as a wrapper on netns.Dial 3 years ago
noise_test.go control/controlbase: make the protocol version number selectable. 3 years ago
sign.go control/controlclient: update machine certificate signature version 3 years ago
sign_supported.go go.mod: update to latest certstore 3 years ago
sign_supported_test.go go.mod: update to latest certstore 3 years ago
sign_unsupported.go go.mod: update to latest certstore 3 years ago
status.go control/controlclient: store netinfo and hostinfo separately 3 years ago