From 2ac4e47cb5a4c15e005c3581e7dba779029bc500 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Thu, 19 Mar 2020 09:43:56 +0100 Subject: [PATCH] [#1139] Fixed typos in .cc/h files Fixed typos in the comments within the dhcp4_srv and dhcp6_srv per review comments. --- src/bin/dhcp4/dhcp4_srv.cc | 6 +++--- src/bin/dhcp4/dhcp4_srv.h | 2 +- src/bin/dhcp6/dhcp6_srv.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/dhcp4/dhcp4_srv.cc b/src/bin/dhcp4/dhcp4_srv.cc index 439c2197a9..028a5d8824 100644 --- a/src/bin/dhcp4/dhcp4_srv.cc +++ b/src/bin/dhcp4/dhcp4_srv.cc @@ -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); diff --git a/src/bin/dhcp4/dhcp4_srv.h b/src/bin/dhcp4/dhcp4_srv.h index 5b7d88c1f9..106a3de794 100644 --- a/src/bin/dhcp4/dhcp4_srv.h +++ b/src/bin/dhcp4/dhcp4_srv.h @@ -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). diff --git a/src/bin/dhcp6/dhcp6_srv.h b/src/bin/dhcp6/dhcp6_srv.h index fcdaba1cd7..80b8d2a141 100644 --- a/src/bin/dhcp6/dhcp6_srv.h +++ b/src/bin/dhcp6/dhcp6_srv.h @@ -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).