Support TCP delackcount>2 (bug 250)

This commit is contained in:
Raj Bhattacharjea
2008-12-03 21:08:44 -05:00
parent 64a7dac84b
commit d4002102f6

View File

@@ -1266,7 +1266,10 @@ void TcpSocketImpl::NewRx (Ptr<Packet> p,
}
else
{
m_delAckEvent = Simulator::Schedule (m_delAckTimeout, &TcpSocketImpl::DelAckTimeout, this);
if (m_delAckEvent.IsExpired())
{
m_delAckEvent = Simulator::Schedule (m_delAckTimeout, &TcpSocketImpl::DelAckTimeout, this);
}
}
}