From 325f3a0be21058b1c2e350fab6bd114baecc1288 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 24 Oct 2007 14:40:24 -0700 Subject: We do support name lookups for host and service in our replacement code - remove the restrictions from the original Postgres code. Jeremy. (This used to be commit bc9008aa1dcb66890795f0ff2d3046da7df867d9) --- source3/lib/replace/getaddrinfo.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3') diff --git a/source3/lib/replace/getaddrinfo.c b/source3/lib/replace/getaddrinfo.c index 519c30066b..0bff746797 100644 --- a/source3/lib/replace/getaddrinfo.c +++ b/source3/lib/replace/getaddrinfo.c @@ -486,11 +486,6 @@ int 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); } -- cgit