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

Fixes #611
reviewable/pr613/r1
Brad Fitzpatrick 4 years ago
parent 77cad13c70
commit 91d95dafd2

@ -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)

Loading…
Cancel
Save