From 3395a6b7f3af22677b57873a1ab8dbfa032785a9 Mon Sep 17 00:00:00 2001 From: Nonoo Date: Wed, 21 Oct 2020 15:27:18 +0200 Subject: [PATCH] Handle duplicate pkt7 replies --- pkt7.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkt7.go b/pkt7.go index 36c60e1..1793560 100644 --- a/pkt7.go +++ b/pkt7.go @@ -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)