Bug#740509: ifconfig: ioctl(SIOCGIFINFO_IN6): No such device or address
On 13:10, Robert Millan wrote:
> $ sudo ifconfig -a
> : flags=8802<BROADCAST,SIMPLEX,MULTICAST>
> ifconfig: ioctl(SIOCGIFINFO_IN6): No such device or address
> : flags=0<>
> ifconfig: ioctl(SIOCGIFINFO_IN6): No such device or address
> : flags=0<>
> ifconfig: ioctl(SIOCGIFINFO_IN6): No such device or address
> : flags=8008<LOOPBACK,MULTICAST>
> ifconfig: ioctl(SIOCGIFINFO_IN6): No such device or address
The ioctl only fails because it is called with the wrong ifname.
So this is not at all related to SIOCGIFINFO_IN6 or IPv6.
if_nametoindex is broken. The interface names are junk bytes
such as 0x0628207c followed by a 0x00 that terminates it.
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: