Skip to content

Commit

Permalink
Fix RTT unit conversion (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
rs committed Dec 16, 2020
1 parent a4a3682 commit 491da31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func ping(ip string) (p Ping) {
defer res.Body.Close()
j := json.NewDecoder(res.Body)
_ = j.Decode(&p)
p.RTT *= 100
p.RTT *= 1000
return p

}
Expand Down

0 comments on commit 491da31

Please sign in to comment.