<div dir="ltr"><div>Hello everybody,</div><div>I am trying to remove a few Pit Entries from the PIT on some basis when a new interest packet arrives. <br></div><div><br></div><div>Please guide me which functions can I make use of to remove such entries.</div><div><br></div><div>Till now I have been doing the following:</div><div><br></div><div>I have added an extra data structure that keeps (Pit::Entry *) of pit entries.</div><div>Then I am tweaking forwarder.cpp::onIncomingInterest() function to delete entries.</div><div>I have tried to use the function m_pit.erase(pit_entry.get());</div><div>to delete entries. <br></div><div>But, at some point the simulation hangs when some other part of the code tries <br></div><div>to delete the entry(which i have already deleted by my added code) and gives me the error: <br></div><div>void nfd::pit::Pit::erase(nfd::pit::Entry*, bool): Assertion `nte != nullptr' failed.</div><div><br></div><div>Thanking you in advance,</div><div>Prajjwal Singh<br></div></div>