summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-25 16:14:52 -0700
committerJeremy Allison <jra@samba.org>2007-10-25 16:14:52 -0700
commitd58398bd2366a7fb4625f2d42dd6f5a5b953d5ca (patch)
tree1fca3a6977ca7b031bbe14b2af6da0657b1cc65c /source3/lib
parent38c34ffd6bcd14314330fd5f2e2a401dbf9cd061 (diff)
downloadsamba-d58398bd2366a7fb4625f2d42dd6f5a5b953d5ca.tar.gz
samba-d58398bd2366a7fb4625f2d42dd6f5a5b953d5ca.tar.bz2
samba-d58398bd2366a7fb4625f2d42dd6f5a5b953d5ca.zip
When doing reverse lookups actually look up the name, not
just the numeric address (doh!) :-). Jeremy. (This used to be commit 9aa9ecd8cc29d055d78f16b8fb2156ec04063c42)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sock.c2
1 files changed, 1 insertions, 1 deletions
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 "