Browse Source

control/controlclient: fix tka godoc

Updates #cleanup

Signed-off-by: Kristoffer Dalby <[email protected]>
Kristoffer Dalby 6 months ago
parent
commit
986b4d1b0b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      control/controlclient/direct.go

+ 1 - 1
control/controlclient/direct.go

@@ -398,7 +398,7 @@ func (c *Direct) SetNetInfo(ni *tailcfg.NetInfo) bool {
 	return true
 }
 
-// SetNetInfo stores a new TKA head value for next update.
+// SetTKAHead stores a new TKA head value for next update.
 // It reports whether the TKA head changed.
 func (c *Direct) SetTKAHead(tkaHead string) bool {
 	c.mu.Lock()