Skip to content

Commit

Permalink
Fix bug with timer reset
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Apr 4, 2024
1 parent e649408 commit e2ad5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion association.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit e2ad5c8

Please sign in to comment.