mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-13 22:47:30 +00:00
wgengine/magicsock: don't peer relay if NodeAttrOnlyTCP443 is set (#16517)
Updates tailscale/corp#30138 Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
@@ -2704,6 +2704,7 @@ func (c *Conn) onNodeViewsUpdate(update NodeViewsUpdate) {
|
||||
|
||||
relayClientEnabled := update.SelfNode.Valid() &&
|
||||
!update.SelfNode.HasCap(tailcfg.NodeAttrDisableRelayClient) &&
|
||||
!update.SelfNode.HasCap(tailcfg.NodeAttrOnlyTCP443) &&
|
||||
envknob.UseWIPCode()
|
||||
|
||||
c.mu.Lock()
|
||||
|
Reference in New Issue
Block a user