From f9cc4e8f533af87869eb06b4752fdb888ec62ef5 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 20 Mar 2020 08:13:47 -0700 Subject: [PATCH] tailcfg: restore MapRequest.IncludeIPv6 bool Partially restores 0be475ba466fc --- tailcfg/tailcfg.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 715ec2df1..f914c1d23 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -391,13 +391,14 @@ type RegisterResponse struct { // using the local machine key, and sent to: // https://login.tailscale.com/machine//map type MapRequest struct { - Version int // current version is 4 - Compress string // "zstd" or "" (no compression) - KeepAlive bool // server sends keep-alives - NodeKey NodeKey - Endpoints []string - Stream bool // if true, multiple MapResponse objects are returned - Hostinfo *Hostinfo + Version int // current version is 4 + Compress string // "zstd" or "" (no compression) + KeepAlive bool // server sends keep-alives + NodeKey NodeKey + Endpoints []string // caller's endpoints (IPv4 or IPv6) + IncludeIPv6 bool // include IPv6 endpoints in returned Node Endpoints + Stream bool // if true, multiple MapResponse objects are returned + Hostinfo *Hostinfo } type MapResponse struct {