From 0400224cf214eb1ffafe296bd9762f60af38fa5a Mon Sep 17 00:00:00 2001 From: Claire Wang Date: Mon, 29 Apr 2024 14:54:09 -0400 Subject: [PATCH] tailcfg: add suggest exit node UI node attribute Add node attribute to determine whether or not to show suggested exit node in UI. Updates tailscale/corp#19515 Signed-off-by: Claire Wang --- tailcfg/tailcfg.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 5308a04ed..dbe9daa8b 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -2256,6 +2256,9 @@ const ( // NodeAttrStoreAppCRoutes configures the node to store app connector routes persistently. NodeAttrStoreAppCRoutes NodeCapability = "store-appc-routes" + + // NodeAttrSuggestExitNodeUI allows the currently suggested exit node to appear in the client GUI. + NodeAttrSuggestExitNodeUI NodeCapability = "suggest-exit-node-ui" ) // SetDNSRequest is a request to add a DNS record.