derp: add missing docs on clientInfo.Version

It's not the Tailscale version.

Change-Id: Icfbd5ff36300b2125b19cd2fa6caa22876965317
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/5069/head
Brad Fitzpatrick 2 years ago committed by Brad Fitzpatrick
parent 4f1374ec9e
commit 931f18b575

@ -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

Loading…
Cancel
Save