Bug#461373: netspeed: please add wmaster0 to the list of dummy devices

Johannes Rohr jorohr at gmail.com
Sun Jun 29 18:43:07 UTC 2008


Package: netspeed
Version: 0.14-2.rudi.1
Followup-For: Bug #461373

For me, adding "wmaster" to the function 

"is_no_dummy_device(const char* device) 

in src/backend.c

is a simple and working fix to this problem:

is_no_dummy_device(const char* device)
{
        return !g_str_has_prefix(device, "lo") && !g_str_has_prefix(device, "dummy") && !g_str_has_prefix(device, "wmaster");
}

I would suggest doing the same for the debian package or better for the
upstream. The bug has been around in the GNOME bugzilla for a long time.
It is hard to understand why this trival fix has not been added yet.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages netspeed depends on:
ii  libart-2.0-2               2.3.20-2      Library of functions for 2D graphi
ii  libatk1.0-0                1.22.0-1      The ATK accessibility toolkit
ii  libbonobo2-0               2.22.0-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.22.0-1      The Bonobo UI library
ii  libc6                      2.7-10        GNU C Library: Shared libraries
ii  libcairo2                  1.6.4-1+b1    The Cairo 2D vector graphics libra
ii  libgconf2-4                2.22.0-1      GNOME configuration database syste
ii  libglib2.0-0               2.16.3-2      The GLib library of C routines
ii  libgnome2-0                2.22.0-1      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.20.1.1-1    A powerful object-oriented display
ii  libgnomeui-0               2.22.1-1      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             1:2.22.0-3    GNOME Virtual File System (runtime
ii  libgtk2.0-0                2.12.9-3      The GTK+ graphical user interface 
ii  libgtop2-7                 2.22.2-1      gtop system monitoring library
ii  libice6                    2:1.0.4-1     X11 Inter-Client Exchange library
ii  liborbit2                  1:2.14.13-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0         2.22.2-1      library for GNOME Panel applets
ii  libpango1.0-0              1.20.3-2      Layout and rendering of internatio
ii  libpopt0                   1.14-3        lib for parsing cmdline parameters
ii  libsm6                     2:1.0.3-2     X11 Session Management library

netspeed recommends no packages.

-- no debconf information







More information about the pkg-gnome-maintainers mailing list