BIND 10 trac3181, updated. 7a96b9bb8c38e0e45b44db09c5c2b015c2609cb6 [3181] Temporarily disable displaying orphan messages.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Dec 6 15:25:14 UTC 2013
The branch, trac3181 has been updated
via 7a96b9bb8c38e0e45b44db09c5c2b015c2609cb6 (commit)
from 08b88147e8368d7f48a2e130deefbcb86cd645af (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7a96b9bb8c38e0e45b44db09c5c2b015c2609cb6
Author: Marcin Siodelski <marcin at isc.org>
Date: Fri Dec 6 16:25:08 2013 +0100
[3181] Temporarily disable displaying orphan messages.
-----------------------------------------------------------------------
Summary of changes:
tests/tools/perfdhcp/stats_mgr.h | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/tests/tools/perfdhcp/stats_mgr.h b/tests/tools/perfdhcp/stats_mgr.h
index 98efedb..0ab4ce1 100644
--- a/tests/tools/perfdhcp/stats_mgr.h
+++ b/tests/tools/perfdhcp/stats_mgr.h
@@ -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.
More information about the bind10-changes
mailing list