Skip to content

Commit

Permalink
Do not use negative RTT
Browse files Browse the repository at this point in the history
  • Loading branch information
rs committed Jan 2, 2021
1 parent 88b099d commit f1ad1d4
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 @@ -214,7 +214,7 @@ func pop(name, ip string) *Ping {
return &Ping{
Pop: "err: " + err.Error(),
Protocol: 0,
RTT: -1,
RTT: 0,
}
}
defer res.Body.Close()
Expand Down

0 comments on commit f1ad1d4

Please sign in to comment.