Return to dig.c CVS log | Up to [local] / src / usr.bin / dig |
version 1.17, 2020/09/15 11:46:19 | version 1.18, 2020/09/15 11:47:42 | ||
---|---|---|---|
|
|
||
* Callback from dighost.c to print the received message. | * Callback from dighost.c to print the received message. | ||
*/ | */ | ||
static void | static void | ||
received(unsigned int bytes, isc_sockaddr_t *from, dig_query_t *query) { | received(unsigned int bytes, struct sockaddr_storage *from, dig_query_t *query) { | ||
time_t tnow; | time_t tnow; | ||
struct tm tmnow; | struct tm tmnow; | ||
char time_str[100]; | char time_str[100]; |