internet:Invoke RouteOutput on packet copy that is used in send

This commit is contained in:
Steven Smith
2020-12-11 14:48:08 -08:00
committed by Tommaso Pecorella
parent c9a1574d5f
commit 6461d9c13e

View File

@@ -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
{