From c51598f6586b4b51153a75e3990e6eba0bdf8400 Mon Sep 17 00:00:00 2001 From: sukun Date: Thu, 4 Apr 2024 11:18:14 +0530 Subject: [PATCH] Fix bug with timer reset --- association.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/association.go b/association.go index af0f9b1a..217636c4 100644 --- a/association.go +++ b/association.go @@ -2167,7 +2167,7 @@ func (a *Association) handleReconfigParam(raw param) (*packet, error) { // Re-configuration Request Sequence Number is started again. If // the timer runs out, the RE-CONFIG chunk MUST be retransmitted // but the corresponding error counters MUST NOT be incremented. - if len(a.reconfigs) == 0 { + if _, ok := a.reconfigs[p.reconfigResponseSequenceNumber]; ok { a.tReconfig.stop() a.tReconfig.start(a.rtoMgr.getRTO()) }