fix logging of the PTO packet number space

This commit is contained in:
Marten Seemann
2019-11-23 14:58:11 +07:00
parent 92b898e811
commit 6bc304570b

View File

@@ -453,10 +453,10 @@ func (h *sentPacketHandler) onVerifiedLossDetectionTimeout() error {
}
// PTO
_, encLevel = h.getEarliestSentTimeAndSpace()
if h.logger.Debug() {
h.logger.Debugf("Loss detection alarm for %s fired in PTO mode. PTO count: %d", encLevel, h.ptoCount)
}
_, encLevel = h.getEarliestSentTimeAndSpace()
h.ptoCount++
h.numProbesToSend += 2
switch encLevel {