]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1139] Fixed typos in .cc/h files
authorMarcin Siodelski <marcin@isc.org>
Thu, 19 Mar 2020 08:43:56 +0000 (09:43 +0100)
committerMarcin Siodelski <marcin@isc.org>
Thu, 19 Mar 2020 12:14:51 +0000 (12:14 +0000)
Fixed typos in the comments within the dhcp4_srv and dhcp6_srv per review
comments.

src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.h
src/bin/dhcp6/dhcp6_srv.h

index 439c2197a9b2908c01b7d894bbb6c1f2c825fd76..028a5d882489a788b199cec0712791fac511f70f 100644 (file)
@@ -2897,7 +2897,7 @@ Dhcpv4Srv::processDiscover(Pkt4Ptr& discover) {
     // Adding any other options makes sense only when we got the lease.
     if (!ex.getResponse()->getYiaddr().isV4Zero()) {
         // If this is global reservation or the subnet doesn't belong to a shared
-        // networkwe have already fetched it and evaluated the classes.
+        // network we have already fetched it and evaluated the classes.
         ex.conditionallySetReservedClientClasses();
 
         // Required classification
@@ -2967,7 +2967,7 @@ Dhcpv4Srv::processRequest(Pkt4Ptr& request, AllocEngine::ClientContext4Ptr& cont
     // Adding any other options makes sense only when we got the lease.
     if (!response->getYiaddr().isV4Zero()) {
         // If this is global reservation or the subnet doesn't belong to a shared
-        // networkwe have already fetched it and evaluated the classes.
+        // network we have already fetched it and evaluated the classes.
         ex.conditionallySetReservedClientClasses();
 
         // Required classification
@@ -3283,7 +3283,7 @@ Dhcpv4Srv::processInform(Pkt4Ptr& inform) {
     Pkt4Ptr ack = ex.getResponse();
 
     // If this is global reservation or the subnet doesn't belong to a shared
-    // networkwe have already fetched it and evaluated the classes.
+    // network we have already fetched it and evaluated the classes.
     ex.conditionallySetReservedClientClasses();
 
     requiredClassify(ex);
index 5b7d88c1f9ec40fc05886419cf26e7c8c11bfbea..106a3de794e5a78b3119403f432304320bf6565b 100644 (file)
@@ -143,7 +143,7 @@ public:
     ///
     /// @note This is done in two phases: first the content of the
     /// vendor-class-identifier option is used as a class, by
-    /// calling @ref classifyByVendor(). Second classification match
+    /// calling @ref classifyByVendor(). Second, the classification match
     /// expressions are evaluated. The resulting classes will be stored
     /// in the packet (see @ref isc::dhcp::Pkt4::classes_ and
     /// @ref isc::dhcp::Pkt4::inClass).
index fcdaba1cd743ca04ea31e3c9a8d71d2c6dfbc37b..80b8d2a141dfd45db6772bdf14871a715d4deec1 100644 (file)
@@ -794,7 +794,7 @@ protected:
     ///
     /// @note This is done in two phases: first the content of the
     /// vendor-class-identifier option is used as a class, by
-    /// calling @ref classifyByVendor(). Second classification match
+    /// calling @ref classifyByVendor(). Second, the classification match
     /// expressions are evaluated. The resulting classes will be stored
     /// in the packet (see @ref isc::dhcp::Pkt6::classes_ and
     /// @ref isc::dhcp::Pkt6::inClass).