Handle duplicate pkt7 replies

This commit is contained in:
Nonoo 2020-10-21 15:27:18 +02:00
parent 53097212f6
commit 3395a6b7f3

View file

@ -53,7 +53,7 @@ func (p *pkt7Type) handle(s *streamCommon, r []byte) {
}
expectedSeq := p.lastConfirmedSeq + 1
if expectedSeq != gotSeq {
if expectedSeq != gotSeq && gotSeq != p.lastConfirmedSeq {
var missingPkts int
if gotSeq > expectedSeq {
missingPkts = int(gotSeq) - int(expectedSeq)