--- a/src/internet/model/tcp-reno.cc Fri May 13 14:54:37 2011 -0400
+++ b/src/internet/model/tcp-reno.cc Fri May 13 14:55:24 2011 -0400
@@ -141,7 +141,7 @@
TcpReno::DupAck (const TcpHeader& t, uint32_t count)
{
NS_LOG_FUNCTION (this << "t " << count);
- if (count == 3 && ! m_inFastRec)
+ if (count == 3 && !m_inFastRec)
{ // triple duplicate ack triggers fast retransmit (RFC2581, sec.3.2)
m_ssThresh = std::max (2 * m_segmentSize, BytesInFlight () / 2);
m_cWnd = m_ssThresh + 3 * m_segmentSize;
@@ -176,7 +176,7 @@
m_cWnd = m_segmentSize;
m_nextTxSequence = m_txBuffer.HeadSequence (); // Restart from highest Ack
NS_LOG_INFO ("RTO. Reset cwnd to " << m_cWnd <<
- ", ssthresh to " << m_ssThresh << ", restart from seqnum " << m_nextTxSequence);
+ ", ssthresh to " << m_ssThresh << ", restart from seqnum " << m_nextTxSequence);
m_rtt->IncreaseMultiplier (); // Double the next RTO
DoRetransmit (); // Retransmit the packet
}