diff --git a/mud b/mud index a7044db..b2e4bc1 160000 --- a/mud +++ b/mud @@ -1 +1 @@ -Subproject commit a7044db87cfbcefd9a89be8ab424132cbdd74d8a +Subproject commit b2e4bc1b8ffaeacce4c85289ee864e2fd693ba1d diff --git a/src/path.c b/src/path.c index 20e4086..462116a 100644 --- a/src/path.c +++ b/src/path.c @@ -54,8 +54,8 @@ gt_path_status(int fd) " mtu: %zu bytes\n" " rtt: %.3f ms\n" " rttvar: %.3f ms\n" - " upload: %"PRIu64" bytes/s\n" - " download: %"PRIu64" bytes/s\n" + " upload: %"PRIu64" bytes/s (max: %"PRIu64")\n" + " download: %"PRIu64" bytes/s (max: %"PRIu64")\n" " output: %"PRIu64" packets\n" " input: %"PRIu64" packets\n", statestr, @@ -69,7 +69,9 @@ gt_path_status(int fd) res.path_status.rtt/(double)1e3, res.path_status.rttvar/(double)1e3, res.path_status.r_rate, + res.path_status.r_ratemax, res.path_status.recv.rate, + res.path_status.recv.ratemax, res.path_status.send.total, res.path_status.recv.total); } while (res.ret == EAGAIN);