summaryrefslogtreecommitdiffhomepage
path: root/control/controlclient/client.go
diff options
context:
space:
mode:
authorMaisem Ali <maisem@tailscale.com>2023-10-23 14:20:15 -0700
committerMaisem Ali <maisem@tailscale.com>2023-10-23 14:20:15 -0700
commitb2cd13146c3650ef05fba06712465a4301196479 (patch)
tree8dd3858cc98c6e122f1d2548173816c8a7b0a41d /control/controlclient/client.go
parentcc43f4d1de78267dd2eb6734c2a89f05a3cc0372 (diff)
downloadtailscale-maisem/ni.tar.xz
tailscale-maisem/ni.zip
ipn/ipnlocal: move tailcfg.Netinfo ownership to LocalBackendmaisem/ni
The only thing place which owned the copy of Netinfo was the controlclient, which meant that we had another place where we were modifying the hostinfo and blending fields in. This moves all of that logic to now occur solely in LocalBackend. Updates #cleanup Signed-off-by: Maisem Ali <maisem@tailscale.com>
Diffstat (limited to 'control/controlclient/client.go')
-rw-r--r--control/controlclient/client.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/control/controlclient/client.go b/control/controlclient/client.go
index ef5af68c6..1bd087e29 100644
--- a/control/controlclient/client.go
+++ b/control/controlclient/client.go
@@ -65,12 +65,6 @@ type Client interface {
// in a separate http request. It has nothing to do with the rest of
// the state machine.
SetHostinfo(*tailcfg.Hostinfo)
- // SetNetinfo changes the NetIinfo structure that will be sent in
- // subsequent node registration requests.
- // TODO: a server-side change would let us simply upload this
- // in a separate http request. It has nothing to do with the rest of
- // the state machine.
- SetNetInfo(*tailcfg.NetInfo)
// SetTKAHead changes the TKA head hash value that will be sent in
// subsequent netmap requests.
SetTKAHead(headHash string)