net/netcheck: flesh out some logging in error paths

Updates tailscale/corp#20654

Change-Id: Ie190f956b864985668f79b5b986438bbe07ce905
This commit is contained in:
Brad Fitzpatrick
2024-06-06 07:33:37 -07:00
committed by Brad Fitzpatrick
parent 95f266f1ce
commit 8450a18aa9
2 changed files with 18 additions and 15 deletions

View File

@@ -624,18 +624,6 @@ func (p probe) String() string {
return fmt.Sprintf("%s-%s%s%s", p.node, p.proto, delay, wait)
}
func (p probeProto) String() string {
switch p {
case probeIPv4:
return "v4"
case probeIPv6:
return "v4"
case probeHTTPS:
return "https"
}
return "?"
}
func TestLogConciseReport(t *testing.T) {
dm := &tailcfg.DERPMap{
Regions: map[int]*tailcfg.DERPRegion{