src/devices/point-to-point/point-to-point-net-device.cc
changeset 2258 666099a753e0
parent 2203 a83b182ea948
child 2424 217a447122a6
equal deleted inserted replaced
2257:71a58e70c671 2258:666099a753e0
   300 {
   300 {
   301   NS_LOG_FUNCTION;
   301   NS_LOG_FUNCTION;
   302   NS_LOG_PARAMS ("(" << em << ")");
   302   NS_LOG_PARAMS ("(" << em << ")");
   303 
   303 
   304   m_receiveErrorModel = em;
   304   m_receiveErrorModel = em;
   305   AddInterface (em);
   305   AggregateObject (em);
   306 }
   306 }
   307 
   307 
   308 void PointToPointNetDevice::Receive (Ptr<Packet> packet)
   308 void PointToPointNetDevice::Receive (Ptr<Packet> packet)
   309 {
   309 {
   310   NS_LOG_FUNCTION;
   310   NS_LOG_FUNCTION;