From a5ffd5e7c318b36c46538eac59e358a5e03f05c7 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sun, 10 Sep 2023 06:46:08 -0700 Subject: [PATCH] tailcfg: remove unused MapRequest.IncludeIPv6 field It's been implicitly enabled (based on capver) for years. Updates #cleanup Change-Id: I8ff1ab844f9ed75c97e866e778dfc0b56cfa98a2 Signed-off-by: Brad Fitzpatrick --- tailcfg/tailcfg.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 0c84b8b15..376e4ce69 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -1093,11 +1093,10 @@ type MapRequest struct { // For current values and history, see the CapabilityVersion type's docs. Version CapabilityVersion - Compress string // "zstd" or "" (no compression) - KeepAlive bool // whether server should send keep-alives back to us - NodeKey key.NodePublic - DiscoKey key.DiscoPublic - IncludeIPv6 bool `json:",omitempty"` // include IPv6 endpoints in returned Node Endpoints (for Version 4 clients) + Compress string // "zstd" or "" (no compression) + KeepAlive bool // whether server should send keep-alives back to us + NodeKey key.NodePublic + DiscoKey key.DiscoPublic // Stream is whether the client wants to receive multiple MapResponses over // the same HTTP connection.