Bug 2053 - In tcp-socket-base.cc, NotifyDataSent incorrectly called with retransmits

This commit is contained in:
Steve Zabele
2015-01-31 13:20:37 +01:00
parent ffa4909b25
commit 4ea974bb7f
2 changed files with 3 additions and 1 deletions

View File

@@ -2025,7 +2025,7 @@ TcpSocketBase::SendDataPacket (SequenceNumber32 seq, uint32_t maxSize, bool with
}
// Notify the application of the data being sent unless this is a retransmit
if (seq == m_nextTxSequence)
if (seq == m_highTxMark)
{
Simulator::ScheduleNow (&TcpSocketBase::NotifyDataSent, this, sz);
}