Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys

On Jun 5, 2013, at 7:24 AM, Greg Troxel <> wrote:

> Jukka Ruohonen <> writes:
>> Ah, maybe IPv6-only hosts would be the rationale then. But as you noted, it
>> is not difficult to find cases like
>>      #ifdef INET
>>        ...
>>          #ifdef INET6
> That's a bug; in theory one should be able to have INET6 without INET.
> I did try it once several years ago, and had some trouble that I didn't
> solve.

Not always.  Sometimes you need to check for an AF_INET6 socket in an
IPv4 path since you might be using mapped IPv4 addresses.

Home | Main Index | Thread Index | Old Index