summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "