Ian Dowse <[EMAIL PROTECTED]> writes:
> Another important reason to add this feature is for compatibility
> with other platforms' getaddrinfo() implementations. I just tried
> a random Linux box here, and it seems to have very similar behaviour
> to that implemented by my patch. There is also the general idea
> that the way to encourage people to use a "preferred" interface is
> to make it useful in as many situations as possible :-)

Note that glibc just commented out PF_LOCAL support.  But before that,
getaddrinfo PF_UNSPEC actually could return PF_LOCAL addresses, which
I think is not obvious and kind of wrong.  Having it work for
ai_family == PF_LOCAL seems ok to me.

/assar

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to