[ds6-devel] nc6/src network.c,1.9,1.10
Chris Leishman
chris@leishman.org
Sun Dec 15 20:02:55 2002
On Sunday, December 15, 2002, at 08:46 PM, Simone Piunno wrote:
> On Sun, Dec 15, 2002 at 06:57:23PM +0100, chris@deepspace6.net wrote:
>
>> - if (ai->ai_family == AF_INET6)
>> + if (ai->ai_family == PF_INET6)
>
> Why this change?
Just for cleanliness. There is no real difference between PF_* and
their AF_* equivalent in current implementations, however the docs for
getaddrinfo calls for the use of PF_* in these flags (probably since
they specify protocol families).
If you've got a compelling reason it can be changed back.
Regards,
Chris
More information about the ds6-devel
mailing list