summaryrefslogtreecommitdiff
path: root/source4/lib/replace/getaddrinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/getaddrinfo.c')
-rw-r--r--source4/lib/replace/getaddrinfo.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/lib/replace/getaddrinfo.c b/source4/lib/replace/getaddrinfo.c
index 3cc1214b0e..063bacd026 100644
--- a/source4/lib/replace/getaddrinfo.c
+++ b/source4/lib/replace/getaddrinfo.c
@@ -486,11 +486,6 @@ int rep_getnameinfo(const struct sockaddr *sa, socklen_t salen,
return EAI_FAIL;
}
- /* We don't support those. */
- if ((node && !(flags & NI_NUMERICHOST))
- || (service && !(flags & NI_NUMERICSERV)))
- return EAI_FAIL;
-
if (node) {
return gethostnameinfo(sa, node, nodelen, flags);
}