netcheck: include two more DERP nodes, show more in CLI report

This commit is contained in:
Brad Fitzpatrick
2020-03-04 13:40:29 -08:00
parent f192c05413
commit ff6b3c2c38
2 changed files with 38 additions and 15 deletions

View File

@@ -26,6 +26,7 @@ func runNetcheck(ctx context.Context, args []string) error {
fmt.Printf("\t* IPv6: %v\n", report.IPv6)
fmt.Printf("\t* MappingVariesByDestIP: %v\n", report.MappingVariesByDestIP)
fmt.Printf("\t* HairPinning: %v\n", report.HairPinning)
fmt.Printf("\t* Nearest DERP: %v (%v)\n", report.PreferredDERP, netcheck.DERPNodeLocation(report.PreferredDERP))
fmt.Printf("\t* DERP latency:\n")
var ss []string
for s := range report.DERPLatency {