downnload and upload speeds commented due to inaccruate results

This commit is contained in:
2021-05-03 04:24:03 +04:00
parent 336d88e36c
commit 9df89cb075
4 changed files with 66 additions and 59 deletions

View File

@@ -82,9 +82,9 @@ func PrintIpTable() error {
}
for i := 0; i < len(table.IpAddress); i++ {
fmt.Printf("----------------------\nIP Address: %s\nLatency: %s\nDownload: %f\nUplaod: %f\n-----------" +
"-----------\n",table.IpAddress[i].Ipv4,
table.IpAddress[i].Latency,table.IpAddress[i].Download,table.IpAddress[i].Upload)
fmt.Printf("\nIP Address: %s\nLatency: %s\n-----------" +
"-----------------\n",table.IpAddress[i].Ipv4,
table.IpAddress[i].Latency)
}
return nil
}