tstest/natlab: add test for no control and rotated disco key (#18261)
Updates #12639 Signed-off-by: Claus Lensbøl <claus@tailscale.com>
This commit is contained in:
@@ -4266,6 +4266,7 @@ func (c *Conn) HandleDiscoKeyAdvertisement(node tailcfg.NodeView, update packet.
|
||||
// If the key did not change, count it and return.
|
||||
if oldDiscoKey.Compare(discoKey) == 0 {
|
||||
metricTSMPDiscoKeyAdvertisementUnchanged.Add(1)
|
||||
c.logf("magicsock: disco key did not change for node %v", nodeKey.ShortString())
|
||||
return
|
||||
}
|
||||
c.discoInfoForKnownPeerLocked(discoKey)
|
||||
|
||||
Reference in New Issue
Block a user