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:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user