svn commit: samba r25725 - in branches/SAMBA_4_0/source/lib/replace: .

metze at samba.org metze at samba.org
Thu Oct 25 06:56:28 GMT 2007


Author: metze
Date: 2007-10-25 06:56:27 +0000 (Thu, 25 Oct 2007)
New Revision: 25725

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25725

Log:
merge commit bc9008aa1dcb66890795f0ff2d3046da7df867d9 from v3-2-test:

Author:     Jeremy Allison <jra at 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.
Modified:
   branches/SAMBA_4_0/source/lib/replace/getaddrinfo.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/getaddrinfo.c
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/getaddrinfo.c	2007-10-25 06:53:38 UTC (rev 25724)
+++ branches/SAMBA_4_0/source/lib/replace/getaddrinfo.c	2007-10-25 06:56:27 UTC (rev 25725)
@@ -486,11 +486,6 @@
 		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);
 	}



More information about the samba-cvs mailing list