diff options
author | pdw <> | 2002-10-24 16:15:12 +0000 |
---|---|---|
committer | pdw <> | 2002-10-24 16:15:12 +0000 |
commit | 0be11c0e8a77c95560be75b638a37783d15aca47 (patch) | |
tree | f72a8f30386cfc14bf230331d6cd6d72dc80f20e /resolver.c | |
parent | e1c4cb7adf3546cafa4653bd9e9e74b3a6545ef8 (diff) | |
download | iftop-0be11c0e8a77c95560be75b638a37783d15aca47.zip |
Added popup status messages.
Diffstat (limited to 'resolver.c')
-rw-r--r-- | resolver.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -44,6 +44,9 @@ int tail; #if defined(USE_GETHOSTBYADDR_R) /** * Implementation of do_resolve for platforms with working gethostbyaddr_r + * + * Some implementations of libc choose to implement gethostbyaddr_r as + * a non thread-safe wrapper to gethostbyaddr. An interesting choice... */ char* do_resolve(struct in_addr * addr) { struct hostent hostbuf, *hp; @@ -102,7 +105,8 @@ char *do_resolve(struct in_addr *addr) { #include <resolv.h> /** - * libresolv implementation + * libresolv implementation + * resolver functions may not be thread safe */ char* do_resolve(struct in_addr * addr) { char msg[PACKETSZ]; |