Bugzilla – Bug 1902
m_txPacketTrace defined but not called
Last modified: 2014-04-22 15:28:52 EDT
This trace source is declared in dsr-routing but not called. It should trace all Tx DSR packets. I guess that is to count the control packets. .AddTraceSource ("Tx", "Send DSR packet.", MakeTraceSourceAccessor (&DsrRouting::m_txPacketTrace)) A solution (will submit a patch soon) is to call it whenever the DownTargetCallback is called and the packet has a priority DSR_CONTROL_PACKET.
Created attachment 1823 [details] Patch for m_txPacketTrace usage in DSR The patch triggers m_txPacketTrace every time the m_downTarget callback is triggered with DSR_DATA_PACKET and introduces another trace source for the DSR_CONTROL_PACKET in similar situations.