Currently Linux SIOCGIFCONF doesn't return any IPv6 addresses
because sockaddr filled with ipv6 addr doesnt fit ...
Kame guys said that it doesn't matter if we correctly
IMHO simplest way for Linux to allow getting ipv6 addresses
via this ioctl but don't break old application is:
ioctl(AF_INET6 socket, ...) - return IPv6 addresses only or
both IPv4 and IPv6 addresses.
ioctl(AF_INET socket, ...) - return only ipv4 addresses (this
same result as when using current
this won't break old applications because they are using AF_INET socket
and will allow to get ipv6 adresses ...
ANK: what you think about this ?
Arkadiusz Miśkiewicz http://www.misiek.eu.org/
PLD/Linux [IPv6 enabled] http://www.pld.org.pl/