Support TCP delackcount>2 (bug 250)

This commit is contained in:
Raj Bhattacharjea committed 2008-12-03 21:08:44 -05:00
1 parent 64a7dac84b
commit d4002102f6
1 file changed
+4 -1
+4 -1
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);
}
}
}