Skip to content

Commit

Permalink
updated packet loss calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
joehiggi1758 committed Nov 4, 2024
1 parent 4381f91 commit 6e2ae6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bits.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e2ae6a

Please sign in to comment.