Update mud

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-11-29 22:22:29 +00:00
parent 8ff9d3d7a1
commit 0e052dc2db
3 changed files with 33 additions and 22 deletions

View File

@@ -89,11 +89,11 @@ gt_path_status(int fd)
peerstr[0] ? peerstr : "-",
gt_get_port((struct sockaddr *)&res.path_status.addr),
res.path_status.mtu.ok,
res.path_status.rtt/(double)1e3,
res.path_status.rttvar/(double)1e3,
res.path_status.rtt.val / 1e3,
res.path_status.rtt.var / 1e3,
res.path_status.r_rate * 10,
res.path_status.r_ratemax * 10,
res.path_status.recv.rate * 10,
res.path_status.rate.val * 10,
res.path_status.recv.ratemax * 10,
res.path_status.send.total,
res.path_status.recv.total);