Support TCP delackcount>2 (bug 250)
This commit is contained in:
1 parent
64a7dac84b
commit
d4002102f6
1 file changed
+4
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user