Revert "types/netmap,wgengine/magicsock: propagate CapVer to magicsock.endpoint (#16244)" (#16322)

This reverts commit 6a93b17c8c.

The reverted commit added more complexity than it was worth at the
current stage. Handling delta CapVer changes requires extensive changes
to relayManager datastructures in order to also support delta updates of
relay servers.

Updates tailscale/corp#27502

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited
2025-06-19 09:47:06 -07:00
committed by GitHub
parent e92eb6b17b
commit 583f740c0b
3 changed files with 0 additions and 26 deletions

View File

@@ -3263,10 +3263,6 @@ func (c *Conn) onNodeMutationsUpdate(update NodeMutationsUpdate) {
ep.mu.Lock()
ep.setEndpointsLocked(views.SliceOf(m.Endpoints))
ep.mu.Unlock()
case netmap.NodeMutationCap:
ep.mu.Lock()
ep.relayCapable = capVerIsRelayCapable(m.Cap)
ep.mu.Unlock()
}
}
}