mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
We do support name lookups for host and service in our replacement
code - remove the restrictions from the original Postgres code. Jeremy.
This commit is contained in:
parent
98e154c312
commit
bc9008aa1d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user