From 6e2ae6a41041b41242cb882bc6efd17e4fafe34f Mon Sep 17 00:00:00 2001 From: JOEY HIGGINS Date: Mon, 4 Nov 2024 00:46:55 -0500 Subject: [PATCH] updated packet loss calculation --- bits.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bits.go b/bits.go index ddbd4c6b6..ea3884908 100644 --- a/bits.go +++ b/bits.go @@ -70,7 +70,7 @@ func (b *Bits) Update(l *logrus.Logger, i uint64) bool { } // Set the bit to false to indicate missing packets. b.bits[n%b.length] = false - } + } // Mark the current packet as received. b.bits[i%b.length] = true