← Back to team overview

cairo-dock-team team mailing list archive

[Bug 672452] Re: Incorrect down/up speeds in Netspeed

 

For me the main problem is that the up speed is always 0.
I can also confirm that the up and down speeds are switched.
I've just made a download and an upload to a fast server nearby me.
The value for the download speed on the label agrees with azureus, the upload speed is always zero.
On the graph on the other hand the labels are probably reversed because the top graph shows a correct graph for the download however it is marked "UP". The lower graph is marked as "DOWN" and stays 0.

If I switch to the gauge view the same thing happens.

-- 
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Project.
https://bugs.launchpad.net/bugs/672452

Title:
  Incorrect down/up speeds in Netspeed

Status in Cairo-Dock : Plug-ins:
  New

Bug description:
  Recently, I began to use Netspeed applet on the dock and found that it
  doesn't show the up/down speeds correctly.

  I think the following two lines, near the end of "applet-netspeed.c",
  are incorrect:

  s_fValues[0] = fDownValue;
  s_fValues[1] = fUpValue;

  Changing them to:

  s_fValues[1] = fDownValue;
  s_fValues[0] = fUpValue;

  fixed the issue for me.

  BTW, 'Network-Monitor/src/applet-netspeed.c' has the same issue.



References