src/devices/point-to-point/point-to-point-channel.cc
changeset 1866 e7dbcc4df546
parent 1504 36ecc970ba96
child 1867 16deaedc0380
--- a/src/devices/point-to-point/point-to-point-channel.cc	Mon Oct 01 14:14:31 2007 +0200
+++ b/src/devices/point-to-point/point-to-point-channel.cc	Mon Oct 01 14:15:56 2007 +0200
@@ -94,13 +94,13 @@
 }
 
 bool
-PointToPointChannel::TransmitStart(Packet& p,
-                                        Ptr<PointToPointNetDevice> src,
-                                        const Time& txTime)
+PointToPointChannel::TransmitStart(Ptr<Packet> p,
+                                   Ptr<PointToPointNetDevice> src,
+                                   const Time& txTime)
 {
   NS_LOG_FUNCTION;
-  NS_LOG_PARAM ("(" << &p << ", " << src << ")");
-  NS_LOG_LOGIC ("UID is " << p.GetUid () << ")");
+  NS_LOG_PARAM ("(" << p << ", " << src << ")");
+  NS_LOG_LOGIC ("UID is " << p->GetUid () << ")");
 
   NS_ASSERT(m_link[0].m_state != INITIALIZING);
   NS_ASSERT(m_link[1].m_state != INITIALIZING);