Bug#436125: gnome-netstatus-applet: failed to update statistics after reconnection

Sven Arvidsson sa at whiz.se
Sun Aug 5 22:42:35 UTC 2007


forwarded 436125 http://bugzilla.gnome.org/show_bug.cgi?id=463795
thanks

On Sun, 2007-08-05 at 23:40 +0800, manphiz wrote:
> gnome-netstatus-applet currently fails to update its statistics after
> disconnection and reconnection. An investigation within the source
> revealed it was because the status determination between current and
> previous state is based on "packets" field, which, according to an
> investigation in /proc/net/dev, will be reset to 0 after reconnection,
> which in turn resulted in the status will be determined as "Idle" until
> the new "packets" data is larger than the previously saved one. Whilst
> the "bytes" field won't be reset to 0 and will continue to accumulate.
> Changing the comparison criterion to bytes-based eliminates this glitch.
> The patch is attached below.

Great! I have forwarded the bug report and your patch to the upstream
developers, but I'm not sure if gnome-netstatus is actively maintained
these days.

http://bugzilla.gnome.org/show_bug.cgi?id=463795

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070806/19d2b676/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list