From: Shawn Routhier Date: Mon, 26 Oct 2015 05:25:45 +0000 (-0700) Subject: [trac3977] Tidy up some typos X-Git-Tag: fdfb_base~1^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=292c9a036c44a3b7c006e292da2acbe078c2174b;p=thirdparty%2Fkea.git [trac3977] Tidy up some typos --- diff --git a/src/bin/dhcp6/dhcp6_srv.h b/src/bin/dhcp6/dhcp6_srv.h index d185784199..e7c20b0424 100644 --- a/src/bin/dhcp6/dhcp6_srv.h +++ b/src/bin/dhcp6/dhcp6_srv.h @@ -525,10 +525,10 @@ protected: /// The @c isc::dhcp_ddns::NameChangeRequest class encapsulates the request /// from the DHCPv6 server to the DHCP-DDNS module to perform DNS Update. /// The FQDN option carries response to the client about DNS updates that - /// server intents to perform for the DNS client. Based on this, the + /// server intends to perform for the DNS client. Based on this, the /// function will create zero or more @c isc::dhcp_ddns::NameChangeRequest /// objects and store them in the internal queue. Requests created by this - /// function are only adding or updating DNS records. If DNS updates are + /// function are only for adding or updating DNS records. If DNS updates are /// disabled, this method returns immediately. /// /// @todo Add support for multiple IAADDR options in the IA_NA. diff --git a/src/bin/dhcp6/tests/fqdn_unittest.cc b/src/bin/dhcp6/tests/fqdn_unittest.cc index ed8087bc48..ef449021ec 100644 --- a/src/bin/dhcp6/tests/fqdn_unittest.cc +++ b/src/bin/dhcp6/tests/fqdn_unittest.cc @@ -655,7 +655,7 @@ TEST_F(FqdnDhcpv6SrvTest, createNameChangeRequestsNoAddr) { ASSERT_NO_THROW(srv_->createNameChangeRequests(answer)); - // We didn't add any IAs, so there should be no NameChangeRequests in th + // We didn't add any IAs, so there should be no NameChangeRequests in the // queue. ASSERT_EQ(0, d2_mgr_.getQueueSize()); } @@ -961,8 +961,8 @@ TEST_F(FqdnDhcpv6SrvTest, processRequestRelease) { 0, 4000); // Client may send Release message. In this case the lease should be - // removed and all existing DNS entries for this lease should be - // also removed. Therefore, we expect that single NameChangeRequest to + // removed and all existing DNS entries for this lease should also + // be removed. Therefore, we expect that single NameChangeRequest to // remove DNS entries is generated. testProcessMessage(DHCPV6_RELEASE, "otherhost.example.com", "otherhost.example.com."); diff --git a/src/lib/dhcp/tests/pkt6_unittest.cc b/src/lib/dhcp/tests/pkt6_unittest.cc index b917241cdb..11d67ea88d 100644 --- a/src/lib/dhcp/tests/pkt6_unittest.cc +++ b/src/lib/dhcp/tests/pkt6_unittest.cc @@ -1477,7 +1477,7 @@ TEST_F(Pkt6Test, makeLabel) { // Tests that the variant of makeLabel which doesn't include transaction // id produces expected output. TEST_F(Pkt6Test, makeLabelWithoutTransactionId) { - DuidPtr duid(new DUID(DUID::fromText("0102020202030303030303"))); + DuidPtr duid(new DUID(DUID::fromText("0102020202030303030303"))); HWAddrPtr hwaddr(new HWAddr(HWAddr::fromText("01:02:03:04:05:06", HTYPE_ETHER))); diff --git a/src/lib/dhcpsrv/alloc_engine.h b/src/lib/dhcpsrv/alloc_engine.h index f57e31d35d..b119078934 100644 --- a/src/lib/dhcpsrv/alloc_engine.h +++ b/src/lib/dhcpsrv/alloc_engine.h @@ -802,7 +802,7 @@ private: /// /// @param lease Pointer to the DHCPv4 or DHCPv6 lease. /// @param remove_lease A boolean flag indicating if the lease should be - /// remove from the lease database (if true) upon reclamation. + /// removed from the lease database (if true) upon reclamation. /// @param callout_handle Pointer to the callout handle. /// @tparam LeasePtrPtr Lease type, i.e. @c Lease4Ptr or @c Lease6Ptr. template diff --git a/src/lib/dhcpsrv/tests/ncr_generator_unittest.cc b/src/lib/dhcpsrv/tests/ncr_generator_unittest.cc index 521e232ef9..5ef1e3f94d 100644 --- a/src/lib/dhcpsrv/tests/ncr_generator_unittest.cc +++ b/src/lib/dhcpsrv/tests/ncr_generator_unittest.cc @@ -83,7 +83,7 @@ public: /// @brief Enables DHCP-DDNS updates. /// /// Replaces the current D2ClientConfiguration with a configuration - /// which as updates enabled and the control options set based upon + /// which has updates enabled and the control options set based upon /// the bit mask of options. void enableD2() { D2ClientConfigPtr cfg(new D2ClientConfig()); @@ -334,7 +334,7 @@ TEST_F(NCRGenerator6Test, noHostname) { } } -// Test that NameChangeRequest is not generated if the invalid hostname has +// Test that NameChangeRequest is not generated if an invalid hostname has // been specified for a lease for which forward and reverse mapping has been // set. TEST_F(NCRGenerator6Test, wrongHostname) {