mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-27 10:47:35 +00:00
revising error message to include version number
Signed-off-by: Christina Wen <christina@tailscale.com>
This commit is contained in:
parent
23798e7606
commit
74beb75ff8
@ -648,8 +648,8 @@ func (c *Conn) Ping(ip netaddr.IP, cb func(*ipnstate.PingResult)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dk, ok := c.discoOfNode[peer.Key]
|
dk, ok := c.discoOfNode[peer.Key]
|
||||||
if !ok {
|
if !ok { // peer is using outdated Tailscale version (pre-0.100)
|
||||||
res.Err = "no discovery key for peer (old Tailscale version?). Try: ping 100.x.y.z"
|
res.Err = "no discovery key for peer (pre Tailscale 0.100 version?). Try: ping 100.x.y.z"
|
||||||
cb(res)
|
cb(res)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user