/// 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.
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());
}
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.");
// 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)));
///
/// @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>
/// @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());
}
}
-// 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) {