Compare commits

...

2 Commits

Author SHA1 Message Date
Christina Wen 74beb75ff8 revising error message to include version number
Signed-off-by: Christina Wen <christina@tailscale.com>
2020-09-15 13:30:50 -04:00
Christina Wen 23798e7606 Updating error msg for no discovery key for peer
Signed-off-by: Christina Wen <christina@tailscale.com>
2020-09-15 13:30:38 -04:00
1 changed files with 2 additions and 2 deletions

View File

@ -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 (pre 0.100?)"
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
}