bugfix: CsmaNetDevice ErrorModel not discarding packet (reported by Rafal Mielniczuk)

This commit is contained in:
Tom Henderson committed 2011-01-26 09:53:49 -08:00
1 parent cac407ca3b
commit 021aeea239
2 files changed
+2

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ The following lists many of the bugs fixed or small feature additions
since ns-3.10, in many cases referencing the Bugzilla bug number.
- Fixed the UanPhyGen::IsStateBusy method, error with logical OR
- CsmaNetDevice ReceiveErrorModel was not dropping the packet
Known issues
------------
+1
View File
@@ -681,6 +681,7 @@ CsmaNetDevice::Receive (Ptr<Packet> packet, Ptr<CsmaNetDevice> senderDevice)
{
NS_LOG_LOGIC ("Dropping pkt due to error model ");
m_phyRxDropTrace (packet);
return;
}
//