<div dir="ltr"><div><div><div>Hi all, <br><br></div>I'm facing a problem to retrieve the current node index in forwarding class. Sometimes it works, sometimes it doesn't and returns the following error message:<br><br>assert failed. cond="n < m_nodes.size ()", msg="Node index 4294967295 is out of range (only have 4 nodes).", file=../src/network/model/node-list.cc, line=209<br>terminate called without an active exception<br>.  <br><br></div>I'm calling this function in 'MulticastStrategy::afterReceiveInterest' (ns3::Simulator::GetContext()). Can someone explain this? <br><br></div><div>Thanks in advance.<br></div></div>