[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] Re: ifconfig -a on linux x86-64 + glibc
From: |
Chris Webb |
Subject: |
[bug-inetutils] Re: ifconfig -a on linux x86-64 + glibc |
Date: |
Thu, 1 Jul 2010 11:29:24 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Chris Webb <address@hidden> writes:
> There remains a second bug with inetutils ifconfig on linux: ifconfig only
> displays active interfaces, whether or not -a is given. As far as I can see,
> SIOCGIFCONF is only returning active interfaces. I'll take a look at that
> next.
Reading the documentation and kernel source code, this looks like it is
working as designed. I notice that system/linux.c has code to read from
/proc/net/dev for finding information on specific interfaces. Perhaps on
linux this would be a better bet for doing interface lists as well?
Cheers,
Chris.