Files
tailscale/ipn
Simon Law b280aa9c44 ipn/ipnlocal: parse priority out of suggest-exit-node capability
When the `experimental:exit-node-steering` attribute is enabled for a
node, it is likely that the priority score for an exit node is
different when considering it as a suggested exit node versus
considering it for the routers / connectors that it hosts.

In order to distinguish between these two, the network map can now
contain the priority score for suggesting the exit node in the
`suggest-exit-node` capability, in that peer’s CapMap:

	"CapMap": {
		"suggest-exit-node": [
			{
				"Priority": 42
			}
		]
	}

Updates tailscale/corp#31011

Signed-off-by: Simon Law <sfllaw@tailscale.com>
2025-08-04 11:51:42 -07:00
..