After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 463795 - Failed to update statistics after reconnection
Failed to update statistics after reconnection
Status: RESOLVED WONTFIX
Product: gnome-netstatus
Classification: Deprecated
Component: general
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: Mark McLoughlin
Mark McLoughlin
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2007-08-05 22:39 UTC by Sven Arvidsson
Modified: 2011-07-10 02:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
suggested fix by manphiz <manphiz@gmail.com> (552 bytes, patch)
2007-08-05 22:40 UTC, Sven Arvidsson
none Details | Review

Description Sven Arvidsson 2007-08-05 22:39:59 UTC
[ Forwarded from http://bugs.debian.org/436125 ]

manphiz <manphiz@gmail.com> reported this bug and wrote a patch to fix it;

"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."
Comment 1 Sven Arvidsson 2007-08-05 22:40:34 UTC
Created attachment 93125 [details] [review]
suggested fix by manphiz <manphiz@gmail.com>
Comment 2 Akhil Laddha 2011-07-10 02:44:17 UTC
gnome-netstatus development has been stalled [1]. Maintainers don't have
future development plan so i am closing the bugs as WONTFIX.

[1] http://mail.gnome.org/archives/desktop-devel-list/2011-June/msg00073.html