internet:Invoke RouteOutput on packet copy that is used in send
This commit is contained in:
committed by
Tommaso Pecorella
parent
c9a1574d5f
commit
6461d9c13e
@@ -877,7 +877,7 @@ Ipv4L3Protocol::Send (Ptr<Packet> packet,
|
||||
Ptr<Ipv4Route> newRoute;
|
||||
if (m_routingProtocol != 0)
|
||||
{
|
||||
newRoute = m_routingProtocol->RouteOutput (packet, ipHeader, oif, errno_);
|
||||
newRoute = m_routingProtocol->RouteOutput (pktCopyWithTags, ipHeader, oif, errno_);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user