aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index dd67e67..5302fff 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -5457,7 +5457,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5457 data[26] = (byte)stats.StatsBlock.Length; 5457 data[26] = (byte)stats.StatsBlock.Length;
5458 int pos = 27; 5458 int pos = 27;
5459 5459
5460 for(int i = 0; i< stats.StatsBlock.Length; ++i) 5460 stats.StatsBlock[15].StatValue /= 1024; // unack is in KB
5461 for (int i = 0; i< stats.StatsBlock.Length; ++i)
5461 { 5462 {
5462 Utils.UIntToBytesSafepos(stats.StatsBlock[i].StatID, data, pos); pos += 4; 5463 Utils.UIntToBytesSafepos(stats.StatsBlock[i].StatID, data, pos); pos += 4;
5463 Utils.FloatToBytesSafepos(stats.StatsBlock[i].StatValue, data, pos); pos += 4; 5464 Utils.FloatToBytesSafepos(stats.StatsBlock[i].StatValue, data, pos); pos += 4;