Bug#312093: netspeed: network interfaces showing up multiple times

Joergen Scheibengruber Joergen Scheibengruber <Joergen.Scheibengruber@wh-hms.uni-ulm.de>, 312093@bugs.debian.org
Wed, 08 Jun 2005 19:13:57 +0200


Am Mittwoch, den 08.06.2005, 15:24 +0200 schrieb Hans Ulrich Niedermann:

[...]

> Obviously in a way wrong for what we want.

Well, doesn't matter since I'm no longer using it anyways ;)

> Hopefully it does something else on non-Linux platforms (which do not
> have /proc/net/dev).

Yeah, libgtop is multi-platform. It uses kstat_open() on solaris for
example.

> > So it would be interssting how /proc/net/dev looks in your case. If we
> > don't have multiple entries there, we're all done already :)
> 
> No, there are no duplicate entries in /proc/net/dev.

Fine :)

> I have only seen them show up one after the other. Which makes sense
> in a kind of way, but should be verified by examining the (presumedly
> buggy) glibc source code first.

Ah, well I don't think it's a bug. Probably the definition of what the
function should do just isn't strict/clear enough. Or whatever ;)

> Hmm. It seems we're not the first people to have those kinds of
> problems:
> 
> http://lists.gnu.org/archive/html/bug-inetutils/2001-02/msg00013.html
> 
> Perhaps we should file a bug against libc6, or move this bug to libc6?

Well, I don't know if it's really a bug, but if you think so, you should
clearly file it :)

Regards,
Jörgen