diff options
Diffstat (limited to 'control/controlclient/auto.go')
| -rw-r--r-- | control/controlclient/auto.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/control/controlclient/auto.go b/control/controlclient/auto.go index fa5e2e106..10f5a3781 100644 --- a/control/controlclient/auto.go +++ b/control/controlclient/auto.go @@ -564,18 +564,6 @@ func (c *Auto) SetHostinfo(hi *tailcfg.Hostinfo) { c.updateControl() } -func (c *Auto) SetNetInfo(ni *tailcfg.NetInfo) { - if ni == nil { - panic("nil NetInfo") - } - if !c.direct.SetNetInfo(ni) { - return - } - - // Send new NetInfo to server - c.updateControl() -} - // SetTKAHead updates the TKA head hash that map-request infrastructure sends. func (c *Auto) SetTKAHead(headHash string) { if !c.direct.SetTKAHead(headHash) { |
