View | Details | Raw Unified | Return to bug 2653
Collapse All | Expand All

(-)i/src/internet/model/tcp-socket-base.cc (+8 lines)
 Lines 3690-3695   TcpSocketBase::ProcessOptionTimestamp (const Ptr<const TcpOption> option, Link Here 
3690
3690
3691
  Ptr<const TcpOptionTS> ts = DynamicCast<const TcpOptionTS> (option);
3691
  Ptr<const TcpOptionTS> ts = DynamicCast<const TcpOptionTS> (option);
3692
3692
3693
  // This is valid only when no overflow occours. It happens
3694
  // when a connection last longer than 50 days.
3695
  if (m_tcb->m_rcvTimestampValue > ts->GetTimestamp ())
3696
    {
3697
      // Do not save a smaller timestamp (probably there is reordering)
3698
      return;
3699
    }
3700
3693
  m_tcb->m_rcvTimestampValue = ts->GetTimestamp ();
3701
  m_tcb->m_rcvTimestampValue = ts->GetTimestamp ();
3694
  m_tcb->m_rcvTimestampEchoReply = ts->GetEcho();
3702
  m_tcb->m_rcvTimestampEchoReply = ts->GetEcho();
3695
3703

Return to bug 2653