git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec6224
)
When doing reverse lookups actually look up the name, not
author
Jeremy Allison
<jra@samba.org>
Thu, 25 Oct 2007 23:14:52 +0000
(16:14 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 25 Oct 2007 23:14:52 +0000
(16:14 -0700)
just the numeric address (doh!) :-).
Jeremy.
source/lib/util_sock.c
patch
|
blob
|
history
diff --git
a/source/lib/util_sock.c
b/source/lib/util_sock.c
index 2d784717b2c2299e23f4a94697d311ee442f9358..8a85f7a5c5586be3855fe0794085a3a0af89d399 100644
(file)
--- a/
source/lib/util_sock.c
+++ b/
source/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 "