summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/ntpd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c
index ede9930..9c15999 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -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);