Parcourir la source

[3183] Typo correction and one todo added.

Marcin Siodelski il y a 11 ans
Parent
commit
5bb29d3c8d
2 fichiers modifiés avec 4 ajouts et 1 suppressions
  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.