net/netcheck: avoid ICMP unimplemented log spam on Plan 9

Updates #5794

Change-Id: Ia6b2429d57b79770e4c278f011504f726136db5b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/15510/head
Brad Fitzpatrick 8 months ago committed by Brad Fitzpatrick
parent 03b9b879ee
commit 6f75647c0e

@ -1191,6 +1191,10 @@ func (c *Client) measureAllICMPLatency(ctx context.Context, rs *reportState, nee
if len(need) == 0 {
return nil
}
if runtime.GOOS == "plan9" {
// ICMP isn't implemented.
return nil
}
ctx, done := context.WithTimeout(ctx, icmpProbeTimeout)
defer done()

Loading…
Cancel
Save