Bug#347340: gnome-netstatus-applet: possible fix

Vladimir Suplin vsuplin at gmail.com
Wed Aug 23 06:21:23 UTC 2006


Package: gnome-netstatus-applet
Version: 2.12.0-5+b1
Followup-For: Bug #347340

--- gnome-netstatus-2.12.0/src/netstatus-iface.c	2005-03-14 16:34:06.000000000 +0200
+++ gnome-netstatus-2.12.0_my/src/netstatus-iface.c	2006-08-23 04:00:46.000000000 +0300
@@ -1220,8 +1220,8 @@ netstatus_list_interface_names (GError *
       struct ifreq *if_req = (struct ifreq *) p;
       gboolean      loopback = FALSE;
 
-      p += sizeof (if_req->ifr_name) + NETSTATUS_SA_LEN (&if_req->ifr_addr);
-
+     // p += sizeof (if_req->ifr_name) + NETSTATUS_SA_LEN (&if_req->ifr_addr);
+      p += sizeof (struct ifreq);
       if (ioctl (fd, SIOCGIFFLAGS, if_req) < 0)
 	{
 	  if (error)


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gnome-netstatus-applet depends on:
ii  gconf2                     2.14.0-4      GNOME configuration database syste
ii  gksu                       1.9.2-1       graphical frontend to su
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.12.1-1      The ATK accessibility toolkit
ii  libaudiofile0              0.2.6-6       Open-source version of SGI's audio
ii  libavahi-client3           0.6.12-1      Avahi client library
ii  libavahi-common3           0.6.12-1      Avahi common library
ii  libavahi-glib1             0.6.12-1      Avahi glib integration library
ii  libbonobo2-0               2.14.0-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.14.0-4      The Bonobo UI library
ii  libc6                      2.3.6-15      GNU C Library: Shared libraries
ii  libcairo2                  1.2.2-1       The Cairo 2D vector graphics libra
ii  libdbus-1-2                0.62-4        simple interprocess messaging syst
ii  libesd0                    0.2.36-3      Enlightened Sound Daemon - Shared 
ii  libfontconfig1             2.3.2-7       generic font configuration library
ii  libfreetype6               2.2.1-2       FreeType 2 font engine, shared lib
ii  libgconf2-4                2.14.0-4      GNOME configuration database syste
ii  libgcrypt11                1.2.2-3       LGPL Crypto library - runtime libr
ii  libglade2-0                1:2.6.0-2     library to load .glade files at ru
ii  libglib2.0-0               2.10.3-3      The GLib library of C routines
ii  libgnome-keyring0          0.4.9-1       GNOME keyring services library
ii  libgnome2-0                2.14.1-3      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgnomeui-0               2.14.1-2      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             2.14.2-1      GNOME virtual file-system (runtime
ii  libgnutls13                1.4.2-1       the GNU TLS library - runtime libr
ii  libgpg-error0              1.2-1         library for common error values an
ii  libgtk2.0-0                2.8.18-1      The GTK+ graphical user interface 
ii  libice6                    1:1.0.0-3     X11 Inter-Client Exchange library
ii  libjpeg62                  6b-13         The Independent JPEG Group's JPEG 
ii  liborbit2                  1:2.14.0-2    libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0         2.14.3-1      library for GNOME 2 panel applets
ii  libpango1.0-0              1.12.3-1+b1   Layout and rendering of internatio
ii  libpng12-0                 1.2.8rel-5.2  PNG library - runtime
ii  libpopt0                   1.10-2        lib for parsing cmdline parameters
ii  libsm6                     1:1.0.0-4     X11 Session Management library
ii  libtasn1-3                 0.3.5-2       Manage ASN.1 structures (runtime)
ii  libx11-6                   2:1.0.0-8     X11 client-side library
ii  libxcursor1                1.1.5.2-5     X cursor management library
ii  libxext6                   1:1.0.0-4     X11 miscellaneous extension librar
ii  libxfixes3                 1:3.0.1.2-4   X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.0-5     X11 Input extension library
ii  libxinerama1               1:1.0.1-4     X11 Xinerama extension library
ii  libxml2                    2.6.26.dfsg-3 GNOME XML library
ii  libxrandr2                 2:1.1.0.2-4   X11 RandR extension library
ii  libxrender1                1:0.9.0.2-4   X Rendering Extension client libra
ii  zlib1g                     1:1.2.3-13    compression library - runtime

gnome-netstatus-applet recommends no packages.

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list