mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r25725: merge commit bc9008aa1d
from v3-2-test:
Author: Jeremy Allison <jra@samba.org>
AuthorDate: Wed Oct 24 14:40:24 2007 -0700
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 25a892f2ad
)
This commit is contained in:
parent
88f6c5a1d2
commit
79affaf37a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user