it is possible to receive packets which are not tagged. ignore them rather than crash.
This commit is contained in:
@@ -75,7 +75,10 @@ DelayJitterEstimation::RecordRx (Ptr<const Packet> packet)
|
||||
TimestampTag tag;
|
||||
bool found;
|
||||
found = packet->PeekTag (tag);
|
||||
NS_ASSERT (found);
|
||||
if (!found)
|
||||
{
|
||||
return;
|
||||
}
|
||||
tag.GetTxTime ();
|
||||
|
||||
Time delta = (Simulator::Now () - m_previousRx) - (tag.GetTxTime () - m_previousRxTx);
|
||||
|
||||
Reference in New Issue
Block a user