diff --git a/src/contrib/delay-jitter-estimation.cc b/src/contrib/delay-jitter-estimation.cc index 3904b16cc..207855ee1 100644 --- a/src/contrib/delay-jitter-estimation.cc +++ b/src/contrib/delay-jitter-estimation.cc @@ -75,7 +75,10 @@ DelayJitterEstimation::RecordRx (Ptr 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);