BIND 10 trac1958, updated. bd1c6a351401bbd9b88a86c6e159083e4421398b [1958] Fixed minor issues with comments in stats_mgr.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jul 19 21:39:46 UTC 2012
The branch, trac1958 has been updated
via bd1c6a351401bbd9b88a86c6e159083e4421398b (commit)
from f3a0b65d587b0758416bfb596a9ad696a6c9fb25 (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 bd1c6a351401bbd9b88a86c6e159083e4421398b
Author: Marcin Siodelski <marcin at isc.org>
Date: Thu Jul 19 23:39:36 2012 +0200
[1958] Fixed minor issues with comments in stats_mgr.h
-----------------------------------------------------------------------
Summary of changes:
tests/tools/perfdhcp/stats_mgr.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/tests/tools/perfdhcp/stats_mgr.h b/tests/tools/perfdhcp/stats_mgr.h
index fffdf21..3c12286 100644
--- a/tests/tools/perfdhcp/stats_mgr.h
+++ b/tests/tools/perfdhcp/stats_mgr.h
@@ -280,7 +280,7 @@ public:
bool packet_found = false;
// Most likely responses are sent from the server in the same
// order as client's requests to the server. We are caching
- // next sent packet and first try to match with it the next
+ // next sent packet and first try to match it with the next
// incoming packet. We are successful if there is no
// packet drop or out of order packets sent. This is actually
// the fastest way to look for packets.
@@ -293,16 +293,16 @@ public:
// take a little more expensive approach to look packets using
// alternative index (transaction id & 1023).
PktListTransidIndex& idx = sent_packets_.template get<1>();
- // Packets are grouped using trasaction id masking with value
+ // Packets are grouped using trasaction id masked with value
// of 1023. For instance, packets with transaction id equal to
// 1, 1024 ... will belong to the same group (a.k.a. bucket).
// When using alternative index we don't find the packet but
- // bucket of packets and need to iterate through the bucket
+ // bucket of packets and we need to iterate through the bucket
// to find the one that has desired transaction id.
std::pair<PktListTransidIterator,PktListTransidIterator> p =
idx.equal_range(transid & 1023);
// We want to keep statistics of unordered lookups to make
- // sure that there is a right balance before number of
+ // sure that there is a right balance between number of
// unordered lookups and ordered lookups. If number of unordered
// lookups is high it may mean that many packets are lost or
// sent out of order.
More information about the bind10-changes
mailing list