control/controlclient: remove an 'unexpected' log that no longer is

Fixes #611
This commit is contained in:
Brad Fitzpatrick 2020-07-28 15:13:34 -07:00
parent 77cad13c70
commit 91d95dafd2

View File

@ -517,7 +517,7 @@ func (c *Client) SetHostinfo(hi *tailcfg.Hostinfo) {
panic("nil Hostinfo") panic("nil Hostinfo")
} }
if !c.direct.SetHostinfo(hi) { if !c.direct.SetHostinfo(hi) {
c.logf("[unexpected] duplicate Hostinfo: %v", hi) // No changes. Don't log.
return return
} }
c.logf("Hostinfo: %v", hi) c.logf("Hostinfo: %v", hi)