java.net.NetworkInterface.getNetworkInterfaces does not work properly on AIX with IPv6

Alan Bateman Alan.Bateman at oracle.com
Wed Oct 19 03:33:37 PDT 2011


Steve Poole wrote:
> :
> Hi - another thought.   If this patch is about dealing with the fact
> that there is no /proc/net on AIX isn't that true for Solaris as well? 
> (my Solaris box doesn't have a /proc/net folder either)
>
> I wonder if we have patch here that should either be made to work for
> Solaris & AIX or is not required as there is Solaris code somewhere that
> does the same thing?
>
> I haven't looked into this in detail so take the comment for what it's
> worth.
>
> Steve
>   
There are ioctl requests on Solaris to do this so the code uses requests 
such as SIOCGLIFCONF with an IPv6 socket to enumerate the interfaces.

-Alan.



More information about the net-dev mailing list