1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-26 04:23:49 +03:00

When doing reverse lookups actually look up the name, not

just the numeric address (doh!) :-).
Jeremy.
This commit is contained in:
Jeremy Allison
2007-10-25 16:14:52 -07:00
parent 2ec6224b55
commit 9aa9ecd8cc

View File

@@ -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 "