From: Miroslav Lichvar Date: Mon, 13 Oct 2014 11:28:45 +0000 (+0200) Subject: ntp: print number of bytes sent in debug message X-Git-Tag: 2.0-pre1~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c36230e21b6bae22f984f5ffec4d1f476a595fa9;p=thirdparty%2Fchrony.git ntp: print number of bytes sent in debug message --- diff --git a/ntp_io.c b/ntp_io.c index a5828073..15dab969 100644 --- a/ntp_io.c +++ b/ntp_io.c @@ -620,7 +620,7 @@ send_packet(void *packet, int packetlen, NTP_Remote_Address *remote_addr, NTP_Lo return 0; } - DEBUG_LOG(LOGF_NtpIO, "Sent to %s:%d from %s fd %d", + DEBUG_LOG(LOGF_NtpIO, "Sent %d bytes to %s:%d from %s fd %d", packetlen, UTI_IPToString(&remote_addr->ip_addr), remote_addr->port, UTI_IPToString(&local_addr->ip_addr), local_addr->sock_fd);