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 authored and MarcoPolo committed Apr 5, 2024
1 parent 0d21a7e commit b93cd31
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 @@ -2169,7 +2169,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 b93cd31

Please sign in to comment.