From 931f18b575e0637a25ce2d4a209cbf957d9f4eb5 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 15 Jul 2022 11:58:01 -0700 Subject: [PATCH] derp: add missing docs on clientInfo.Version It's not the Tailscale version. Change-Id: Icfbd5ff36300b2125b19cd2fa6caa22876965317 Signed-off-by: Brad Fitzpatrick --- derp/derp_client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/derp/derp_client.go b/derp/derp_client.go index b41e3e890..2b612c8b2 100644 --- a/derp/derp_client.go +++ b/derp/derp_client.go @@ -156,6 +156,8 @@ func (c *Client) parseServerInfo(b []byte) (*serverInfo, error) { } type clientInfo struct { + // Version is the DERP protocol version that the client was built with. + // See the ProtocolVersion const. Version int `json:"version,omitempty"` // MeshKey optionally specifies a pre-shared key used by