From c521ff394eb59bb5dfc767b3f8ebf7176b91685f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 19 Mar 2019 10:59:01 +0000 Subject: [PATCH] recover the UnAckedBytes are in KB fix --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index dd67e67b75..5302fff0fe 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 data[26] = (byte)stats.StatsBlock.Length; int pos = 27; - for(int i = 0; i< stats.StatsBlock.Length; ++i) + stats.StatsBlock[15].StatValue /= 1024; // unack is in KB + for (int i = 0; i< stats.StatsBlock.Length; ++i) { Utils.UIntToBytesSafepos(stats.StatsBlock[i].StatID, data, pos); pos += 4; Utils.FloatToBytesSafepos(stats.StatsBlock[i].StatValue, data, pos); pos += 4;