> Interesting - especially since the existing code works quite well over a
> wide range of platforms. So I'm not quite so eager to declare it incorrect
> and only working by accident.
>
> However, I would welcome a proposed patch so we can look at it. This is
> always an important area for us, so the more discussion over how to do it
> the better.
>
> Thanks
> Ralph


Just reading through all this again whilst looking at the source code
for 1.3.3 as well, and I think what Aleskej was getting at was that
there's  already a block of:


#if defined( __NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || \
             defined(__386BSD__) || defined(__bsdi__) || defined(__APPLE__)

in there for the IPv6 (inet6) interfaces but NOT for the IPv4 (inet)
ones.


Indeed, the IPv6 stuff (the #if OPAL_WANT_IPV6 block) seems to be broken
down into

#ifdef __linux__

#ifdef __sun__

and the 6 OSes above.

There would seem to be no such distinction for the IPv4 interface block.



-- 
Kevin M. Buckley                                  Room:  CO327
School of Engineering and                         Phone: +64 4 463 5971
 Computer Science
Victoria University of Wellington
New Zealand

Reply via email to