From 736549f03fbcd87542aff27dd587923d00ab681e Mon Sep 17 00:00:00 2001 From: Ansariel <none@none> Date: Fri, 9 Oct 2015 09:26:21 +0200 Subject: [PATCH] STORM-2122: UDP data bandwidth measuring is off by factor 8 --- doc/contributions.txt | 1 + indra/newview/llviewerregion.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/contributions.txt b/doc/contributions.txt index e67df2453e6..fcadccab22c 100755 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -219,6 +219,7 @@ Ansariel Hiller STORM-2105 STORM-2151 MAINT-8085 + STORM-2122 Aralara Rajal Arare Chantilly CHUIBUG-191 diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index 52dc3fbb69b..feaafad2e12 100644 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -1877,7 +1877,7 @@ void LLViewerRegion::updateNetStats() mLastPacketsLost = mPacketsLost; mPacketsIn = cdp->getPacketsIn(); - mBitsIn = 8 * cdp->getBytesIn(); + mBitsIn = cdp->getBytesIn(); mPacketsOut = cdp->getPacketsOut(); mPacketsLost = cdp->getPacketsLost(); mPingDelay = cdp->getPingDelay(); -- GitLab