diff --git a/src/internet/model/tcp-tx-buffer.cc b/src/internet/model/tcp-tx-buffer.cc index ca9403903..fe723fed1 100644 --- a/src/internet/model/tcp-tx-buffer.cc +++ b/src/internet/model/tcp-tx-buffer.cc @@ -193,7 +193,7 @@ TcpTxBuffer::Add (Ptr p) if (p->GetSize () > 0) { TcpTxItem *item = new TcpTxItem (); - item->m_packet = p; + item->m_packet = p->Copy (); m_appList.insert (m_appList.end (), item); m_size += p->GetSize ();