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

(-)a/src/network/utils/drop-tail-queue.cc (-2 / +1 lines)
 Lines 94-100   DropTailQueue::DoEnqueue (Ptr<Packet> p) Link Here 
94
      return false;
94
      return false;
95
    }
95
    }
96
96
97
  if (m_mode == QUEUE_MODE_BYTES && (m_bytesInQueue + p->GetSize () >= m_maxBytes))
97
  if (m_mode == QUEUE_MODE_BYTES && (m_bytesInQueue + p->GetSize () > m_maxBytes))
98
    {
98
    {
99
      NS_LOG_LOGIC ("Queue full (packet would exceed max bytes) -- droppping pkt");
99
      NS_LOG_LOGIC ("Queue full (packet would exceed max bytes) -- droppping pkt");
100
      Drop (p);
100
      Drop (p);
101
- 

Return to bug 2268