diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 96ae15f5c..3434e3f5f 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -2786,6 +2786,12 @@ func (p NodeCapabilityPrefix) ToAttribute(value string) NodeCapability { // discard existing cached maps, and will not store any. NodeAttrCacheNetworkMaps NodeCapability = "cache-network-maps" + // NodeAttrDisableCacheNetworkMaps indicates that the node should not cache + // network maps (as per [NodeAttrCacheNetworkMaps]) when it normally would. + // This attribute exists to allow the policy document to override the default. + // When set, it takes precedence over [NodeAttrCacheNetworkMaps]. + NodeAttrDisableCacheNetworkMaps NodeCapability = "disable-cache-network-maps" + // NodeAttrDisableLinuxCGNATDropRule tells Linux clients to not insert a // blanket firewall DROP rule for inbound traffic from the CGNAT IP range // that does not originate from the Tailscale network interface.