bugfix: CsmaNetDevice ErrorModel not discarding packet (reported by Rafal Mielniczuk)
This commit is contained in:
1 parent
cac407ca3b
commit
021aeea239
2 files changed
+2
No files matched your search
@@ -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
|
||||
------------
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user