]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[trac3977] Tidy up some typos
authorShawn Routhier <sar@isc.org>
Mon, 26 Oct 2015 05:25:45 +0000 (22:25 -0700)
committerShawn Routhier <sar@isc.org>
Mon, 26 Oct 2015 05:25:45 +0000 (22:25 -0700)
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/tests/fqdn_unittest.cc
src/lib/dhcp/tests/pkt6_unittest.cc
src/lib/dhcpsrv/alloc_engine.h
src/lib/dhcpsrv/tests/ncr_generator_unittest.cc

index d185784199bd0bd75c4a53fefbcf6a15d468f7c8..e7c20b04242e06e5c8031f1c8714c87501c12c4d 100644 (file)
@@ -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.
index ed8087bc48db16b626e28ae56c757c482f759dc9..ef449021ece0332dae27da2d8c86bd27e24f2821 100644 (file)
@@ -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.");
index b917241cdbac2d9b16bbed1f64fddcad64b22fbe..11d67ea88d9fa8d66a0ce96f284c4e107e481f93 100644 (file)
@@ -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)));
 
index f57e31d35d81106a7feb3ecaa0d4a311d4597d81..b119078934196f46eee80f1dbd6ee8d2183e377b 100644 (file)
@@ -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<typename LeasePtrType>
index 521e232ef904a69ca0c9d6945e988f50cbe65440..5ef1e3f94d45881846949c5ac8eb1b54dee3c068 100644 (file)
@@ -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) {