--- a/src/devices/point-to-point/point-to-point-net-device.cc Wed Aug 01 19:09:11 2007 +0200
+++ b/src/devices/point-to-point/point-to-point-net-device.cc Wed Aug 01 19:19:28 2007 +0200
@@ -102,9 +102,10 @@
m_tInterframeGap = t;
}
-bool PointToPointNetDevice::SendTo (Packet& p, const Address& dest,
+bool PointToPointNetDevice::SendTo (const Packet& packet, const Address& dest,
uint16_t protocolNumber)
{
+ Packet p = packet;
NS_DEBUG ("PointToPointNetDevice::SendTo (" << &p << ", " << &dest << ")");
NS_DEBUG ("PointToPointNetDevice::SendTo (): UID is " << p.GetUid () << ")");