From 85ad0c276cf27cef0a49bfefb7501346ac035957 Mon Sep 17 00:00:00 2001 From: James Tucker Date: Tue, 28 May 2024 15:22:24 -0700 Subject: [PATCH] tailcfg: update PeerAPIDNS Port value documentation We do not intend to use this value for feature support communication in the future, and have applied changes elsewhere that now fix the expected value. Updates tailscale/corp#19391 Updates tailscale/corp#20398 Signed-off-by: James Tucker --- tailcfg/tailcfg.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 5e1c177ff5af9..21fddf020dbfa 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -682,14 +682,12 @@ type Service struct { // node's Tailscale IPv6 address. // * "peerapi-dns-proxy": the local peerapi service supports // being a DNS proxy (when the node is an exit - // node). For this service, the Port number is really - // the version number of the service. + // node). For this service, the Port number must only be 1. Proto ServiceProto // Port is the port number. // - // For Proto "peerapi-dns", it's the version number of the DNS proxy, - // currently 1. + // For Proto "peerapi-dns", it must be 1. Port uint16 // Description is the textual description of the service,