diff --git a/mud b/mud index 4d14689..00f1873 160000 --- a/mud +++ b/mud @@ -1 +1 @@ -Subproject commit 4d14689ff11523b9cd32ee0eab4b3f8a836f540f +Subproject commit 00f18733d860621b467661a713a9714dc2b8a7f2 diff --git a/src/path.c b/src/path.c index 3c945bc..c7e69f0 100644 --- a/src/path.c +++ b/src/path.c @@ -41,6 +41,7 @@ gt_path_print_status(struct mud_path *path, int term) " mtu: %zu bytes\n" " rtt: %.3f ms\n" " rttvar: %.3f ms\n" + " loss: %"PRIu64" %%\n" " rate tx: %"PRIu64" bytes/sec\n" " rate rx: %"PRIu64" bytes/sec\n" " total tx: %"PRIu64" packets\n" @@ -55,6 +56,7 @@ gt_path_print_status(struct mud_path *path, int term) " %"PRIu64 " %"PRIu64 " %"PRIu64 + " %"PRIu64 "\n", statestr, statusstr, @@ -67,6 +69,7 @@ gt_path_print_status(struct mud_path *path, int term) path->mtu.ok, (double)path->rtt.val / 1e3, (double)path->rtt.var / 1e3, + path->loss, path->rate_tx, path->rate_rx, path->send.total,