summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2021-03-17 14:12:35 -0700
committerBrad Fitzpatrick <bradfitz@tailscale.com>2021-03-17 15:00:08 -0700
commitcb0208161f49736cd924c8ae3ed5fda8613ae314 (patch)
tree17034625a76d7cc9605634b7c0357c7a19870b3a
parentddc975fcb268a06dc39923ec5db93f1c95b8cfc4 (diff)
downloadtailscale-release-branch/1.6.tar.xz
tailscale-release-branch/1.6.zip
tailcfg: bump CurrentMapRequestVersion, forgotten earlierrelease-branch/1.6
In f45a9e291b (2021-03-04), I tried to bump CurrentMapRequestVersion to 12 but only documented the meaning of 12 but forgot to actually increase it from 11. Mapver 11 was added in ea49b1e811 (2021-03-03). Fix this in its own commit so we can cherry-pick it to the 1.6 release branch. (cherry picked from commit 4145bb71487a45b899b6a1b06d9a27963c795e45)
-rw-r--r--tailcfg/tailcfg.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go
index 9528b6cf9..f4992124e 100644
--- a/tailcfg/tailcfg.go
+++ b/tailcfg/tailcfg.go
@@ -36,7 +36,7 @@ import (
// 10: 2021-01-17: client understands MapResponse.PeerSeenChange
// 11: 2021-03-03: client understands IPv6, multiple default routes, and goroutine dumping
// 12: 2021-03-04: client understands PingRequest
-const CurrentMapRequestVersion = 11
+const CurrentMapRequestVersion = 12
type StableID string