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

(-)a/src/internet/model/tcp-socket-base.cc (-1 / +1 lines)
 Lines 2748-2754   uint16_t Link Here 
2748
TcpSocketBase::AdvertisedWindowSize (bool scale) const
2748
TcpSocketBase::AdvertisedWindowSize (bool scale) const
2749
{
2749
{
2750
  NS_LOG_FUNCTION (this << scale);
2750
  NS_LOG_FUNCTION (this << scale);
2751
  uint32_t w = m_rxBuffer->MaxBufferSize ();
2751
  uint32_t w = m_rxBuffer->MaxRxSequence () - m_rxBuffer->NextRxSequence ();
2752
2752
2753
  if (scale)
2753
  if (scale)
2754
    {
2754
    {

Return to bug 2559