reopen 438179 thanks On Thu, Aug 16, 2007 at 08:24:51PM +0200, Aurelien Jarno wrote: > > This is a feature, not a bug. getaddrinfo() sorts results according to > RFC3484. You can configure the way they are sorted using /etc/gai.conf.
None of the rules in rfc3484 say anything about this. In fact, the last rule says: Rule 10: Otherwise, leave the order unchanged. If DA preceded DB in the original list, prefer DA. Otherwise prefer DB. Also, I don't see an option to prevent it from sorting the list. > If you don't want results to be sorted, don't use getaddrinfo(). Do you have a suggestion for an other interface that works with different address types other than getipnodebyname()? Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]