tailscale/control
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>
2022-05-03 15:33:01 -07:00
..
controlbase control/controlbase: don't enforce a max protocol version at handshake time. 2022-04-07 17:55:29 -07:00
controlclient control/controlclient: store netinfo and hostinfo separately 2022-05-03 15:33:01 -07:00
controlhttp control/controlhttp: don't assume port 80 upgrade response will work 2022-04-28 09:14:41 -07:00
controlknobs envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 2022-01-24 11:51:23 -08:00