mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-08 09:07:44 +00:00
derp: add missing docs on clientInfo.Version
It's not the Tailscale version. Change-Id: Icfbd5ff36300b2125b19cd2fa6caa22876965317 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
4f1374ec9e
commit
931f18b575
@ -156,6 +156,8 @@ func (c *Client) parseServerInfo(b []byte) (*serverInfo, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type clientInfo struct {
|
type clientInfo struct {
|
||||||
|
// Version is the DERP protocol version that the client was built with.
|
||||||
|
// See the ProtocolVersion const.
|
||||||
Version int `json:"version,omitempty"`
|
Version int `json:"version,omitempty"`
|
||||||
|
|
||||||
// MeshKey optionally specifies a pre-shared key used by
|
// MeshKey optionally specifies a pre-shared key used by
|
||||||
|
Loading…
x
Reference in New Issue
Block a user