Commit 7a96b9bb authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[3181] Temporarily disable displaying orphan messages.

parent 08b88147
......@@ -633,12 +633,19 @@ public:
/// Method prints main statistics for particular exchange.
/// Statistics includes: number of sent and received packets,
/// number of dropped packets and number of orphans.
///
/// \todo Currently the number of orphans is not displayed because
/// Reply messages received for Renew and Releases are counted as
/// orphans for the 4-way exchanges, which is wrong. We will need to
/// move the orphans counting out of the Statistics Manager so as
/// orphans counter is increased only if the particular message is
/// not identified as a reponse to any of the messages sent by perfdhcp.
void printMainStats() const {
using namespace std;
cout << "sent packets: " << getSentPacketsNum() << endl
<< "received packets: " << getRcvdPacketsNum() << endl
<< "drops: " << getDroppedPacketsNum() << endl
<< "orphans: " << getOrphans() << endl;
<< "drops: " << getDroppedPacketsNum() << endl;
// << "orphans: " << getOrphans() << endl;
}
/// \brief Print round trip time packets statistics.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment