From 7b38e4610cf79949361d9d51d2af4177cd357c7d Mon Sep 17 00:00:00 2001 From: "David M. Syzdek" Date: Thu, 21 Jul 2022 16:03:08 -0800 Subject: akcom-udpecho: logging server failures --- src/akcom-udpecho.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/akcom-udpecho.c b/src/akcom-udpecho.c index 2ce1cb5..d56927a 100644 --- a/src/akcom-udpecho.c +++ b/src/akcom-udpecho.c @@ -522,8 +522,9 @@ int main(int argc, char * argv[]) max_adj = epoch_adj; if ((cnf_echoplus)) { - printf("udpecho_seq=%u time=%" PRIu64 ".%" PRIu64 " ms delay=%" PRIu64 ".%" PRIu64 " ms adj_time=%" PRIu64 ".%" PRIu64 " ms\n", + printf("udpecho_seq=%u failures=%" PRIu32 " time=%" PRIu64 ".%" PRIu64 " ms delay=%" PRIu64 ".%" PRIu64 " ms adj_time=%" PRIu64 ".%" PRIu64 " ms\n", rcvbuff.echoplus->req_sn, + rcvbuff.echoplus->failures, epoch/10, epoch%10, delay/10, delay%10, epoch_adj/10, epoch_adj%10 -- cgit v1.2.3