ntpd: log responses to clients at log level 3

function                                             old     new   delta
recv_and_process_client_pkt                          670     706     +36

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-02-21 09:47:34 +01:00
parent 2620d38714
commit 855aeacfba

View File

@ -2153,6 +2153,12 @@ recv_and_process_client_pkt(void /*int fd*/)
do_sendto(G_listen_fd,
/*from:*/ &to->u.sa, /*to:*/ from, /*addrlen:*/ to->len,
&msg, size);
VERB3 {
char *addr;
addr = xmalloc_sockaddr2dotted_noport(from);
bb_error_msg("responded to query from %s", addr);
free(addr);
}
bail:
free(to);