Browse Source

[3183] Typo correction and one todo added.

Marcin Siodelski 11 years ago
parent
commit
5bb29d3c8d
2 changed files with 4 additions and 1 deletions
  1. 1 1
      tests/tools/perfdhcp/packet_storage.h
  2. 3 0
      tests/tools/perfdhcp/test_control.h

+ 1 - 1
tests/tools/perfdhcp/packet_storage.h

@@ -29,7 +29,7 @@ namespace perfdhcp {
 /// The main purpose of this class is to support sending Renew and Release
 /// messages from perfdhcp. The Renew and Release messages are sent for existing
 /// leases only. Therefore, the typical use case for this class is that it holds
-/// a list of Rely messages sent by the server in response to Request messages.
+/// a list of Reply messages sent by the server in response to Request messages.
 /// The Request messages hold addresses and/or IPv6 prefixes acquired so they
 /// can be used to identify existing leases. When perfdhcp needs to send Renew
 /// or Release message, it will access one of the elements on this list and

+ 3 - 0
tests/tools/perfdhcp/test_control.h

@@ -308,6 +308,9 @@ protected:
     /// can be sent at the given rate. Note that the Renew packets
     /// are generated for the existing leases, represented here as
     /// replies from the server.
+    /// @todo Instead of cleaning packets periodically we could
+    /// just stop adding new packets when the certain threshold
+    /// has been reached.
     void cleanCachedPackets();
 
     /// \brief Creates IPv6 packet using options from Reply packet.