From d58398bd2366a7fb4625f2d42dd6f5a5b953d5ca Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 25 Oct 2007 16:14:52 -0700 Subject: When doing reverse lookups actually look up the name, not just the numeric address (doh!) :-). Jeremy. (This used to be commit 9aa9ecd8cc29d055d78f16b8fb2156ec04063c42) --- source3/lib/util_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 2d784717b2..8a85f7a5c5 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -1879,7 +1879,7 @@ const char *get_peer_name(int fd, bool force_lookup) sizeof(name_buf), NULL, 0, - NI_NUMERICHOST); + 0); if (ret) { DEBUG(1,("get_peer_name: getnameinfo failed " -- cgit