|
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); |