diff options
| author | Christina Wen <christina@tailscale.com> | 2020-09-15 11:00:18 -0400 |
|---|---|---|
| committer | Christina Wen <christina@tailscale.com> | 2020-09-15 13:30:50 -0400 |
| commit | 74beb75ff8e95ec4e9e299771b5979660b1a8ab6 (patch) | |
| tree | 6dc849a968780498870def970f004843370b2d04 | |
| parent | 23798e76068d05ebfbae45fd090e893a38d2302a (diff) | |
| download | tailscale-c22wen/magicsock.go.tar.xz tailscale-c22wen/magicsock.go.zip | |
revising error message to include version numberc22wen/magicsock.go
Signed-off-by: Christina Wen <christina@tailscale.com>
| -rw-r--r-- | wgengine/magicsock/magicsock.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wgengine/magicsock/magicsock.go b/wgengine/magicsock/magicsock.go index 91cda67f3..7d0421375 100644 --- a/wgengine/magicsock/magicsock.go +++ b/wgengine/magicsock/magicsock.go @@ -648,8 +648,8 @@ func (c *Conn) Ping(ip netaddr.IP, cb func(*ipnstate.PingResult)) { } dk, ok := c.discoOfNode[peer.Key] - if !ok { - res.Err = "no discovery key for peer (old Tailscale version?). Try: ping 100.x.y.z" + if !ok { // peer is using outdated Tailscale version (pre-0.100) + res.Err = "no discovery key for peer (pre Tailscale 0.100 version?). Try: ping 100.x.y.z" cb(res) return } |
