changeset 2287 | 363c7065ce0e |
parent 2281 | 1e9dd91f666f |
child 3038 | 5962e2962fa9 |
--- a/src/contrib/delay-jitter-estimation.cc Wed Dec 19 13:22:55 2007 +0100 +++ b/src/contrib/delay-jitter-estimation.cc Wed Dec 19 13:24:30 2007 +0100 @@ -75,7 +75,10 @@ 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);