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

(-)a/src/internet-stack/tcp-socket-impl.cc (+5 lines)
 Lines 467-472    Link Here 
467
  NS_LOG_FUNCTION_NOARGS ();
467
  NS_LOG_FUNCTION_NOARGS ();
468
  if(m_bufferedData.empty())
468
  if(m_bufferedData.empty())
469
    {
469
    {
470
      if(m_state == CLOSE_WAIT) //means EOF
471
        {
472
          return Create<Packet>();
473
        }
474
      //else
470
      return 0;
475
      return 0;
471
    }
476
    }
472
  UnAckData_t out; //serves as buffer to return up to the user
477
  UnAckData_t out; //serves as buffer to return up to the user

Return to bug 365