src/devices/csma/csma-net-device.cc
changeset 6786 17f9a64dd4f6
parent 6183 8a5e1f9db873
equal deleted inserted replaced
6785:afe95f44de93 6786:17f9a64dd4f6
   679 
   679 
   680   if (m_receiveErrorModel && m_receiveErrorModel->IsCorrupt (packet) )
   680   if (m_receiveErrorModel && m_receiveErrorModel->IsCorrupt (packet) )
   681     {
   681     {
   682       NS_LOG_LOGIC ("Dropping pkt due to error model ");
   682       NS_LOG_LOGIC ("Dropping pkt due to error model ");
   683       m_phyRxDropTrace (packet);
   683       m_phyRxDropTrace (packet);
       
   684       return;
   684     }
   685     }
   685 
   686 
   686   //
   687   //
   687   // Trace sinks will expect complete packets, not packets without some of the
   688   // Trace sinks will expect complete packets, not packets without some of the
   688   // headers.
   689   // headers.