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

(-)a/src/internet/model/udp-socket-impl.cc (+5 lines)
 Lines 639-644    Link Here 
639
    {
639
    {
640
      Address address = InetSocketAddress (header.GetSource (), port);
640
      Address address = InetSocketAddress (header.GetSource (), port);
641
      SocketAddressTag tag;
641
      SocketAddressTag tag;
642
      // remove any previously added socket address tags  
643
      while (packet->RemovePacketTag (tag)) 
644
        {
645
          NS_LOG_DEBUG ("Removing SocketAddressTag with address " << tag.GetAddress()); 
646
        }
642
      tag.SetAddress (address);
647
      tag.SetAddress (address);
643
      packet->AddPacketTag (tag);
648
      packet->AddPacketTag (tag);
644
      m_deliveryQueue.push (packet);
649
      m_deliveryQueue.push (packet);

Return to bug 231