src/node/drop-tail-queue.cc
changeset 3525 4b8ef7da0ac3
parent 2989 b7eb3929096c
child 4198 7e0ff1be867a
equal deleted inserted replaced
3524:028b7de98fb1 3525:4b8ef7da0ac3
    85   NS_LOG_LOGIC ("Popped " << p);
    85   NS_LOG_LOGIC ("Popped " << p);
    86 
    86 
    87   return p;
    87   return p;
    88 }
    88 }
    89 
    89 
    90 Ptr<Packet>
    90 Ptr<const Packet>
    91 DropTailQueue::DoPeek (void) const
    91 DropTailQueue::DoPeek (void) const
    92 {
    92 {
    93   NS_LOG_FUNCTION (this);
    93   NS_LOG_FUNCTION (this);
    94 
    94 
    95   if (m_packets.empty()) 
    95   if (m_packets.empty())