mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Fix calculation of loss percentage
svn path=/trunk/; revision=22156
This commit is contained in:
@@ -606,11 +606,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
/* Calculate loss percent */
|
||||
if (LostCount > 0) {
|
||||
Count = (SentCount * 100) / LostCount;
|
||||
} else {
|
||||
Count = 0;
|
||||
}
|
||||
Count = (LostCount * 100) / SentCount;
|
||||
|
||||
if (!MinRTTSet)
|
||||
MinRTT = MaxRTT;
|
||||
|
||||
Reference in New Issue
Block a user