From: Thomas Markwalder Date: Thu, 20 Feb 2014 18:45:48 +0000 (-0500) Subject: [3034] Minor review corrections. X-Git-Tag: bind10-1.2.0beta1-release~32^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbcacb9ee3fc0ace096584df3ebe5628d2c1ee5e;p=thirdparty%2Fkea.git [3034] Minor review corrections. Reviewed required a few comments to be added. --- diff --git a/src/bin/dhcp6/dhcp6_srv.cc b/src/bin/dhcp6/dhcp6_srv.cc index 11662716d5..0b8e9c4b06 100644 --- a/src/bin/dhcp6/dhcp6_srv.cc +++ b/src/bin/dhcp6/dhcp6_srv.cc @@ -1219,8 +1219,8 @@ Dhcpv6Srv::assignIA_NA(const Subnet6Ptr& subnet, const DuidPtr& duid, Option6ClientFqdnPtr fqdn = boost::dynamic_pointer_cast< Option6ClientFqdn>(answer->getOption(D6O_CLIENT_FQDN)); if (fqdn) { - // For now, we assert that if we are doing forward we are also - // doing reverse. + /// @todo For now, we assert that if we are doing forward we are also + /// doing reverse. if (fqdn->getFlag(Option6ClientFqdn::FLAG_S)) { do_fwd = true; do_rev = true; diff --git a/src/bin/dhcp6/tests/fqdn_unittest.cc b/src/bin/dhcp6/tests/fqdn_unittest.cc index 9226285a7c..7347958976 100644 --- a/src/bin/dhcp6/tests/fqdn_unittest.cc +++ b/src/bin/dhcp6/tests/fqdn_unittest.cc @@ -47,6 +47,7 @@ public: D2ClientMgr& d2_mgr_; // Bit Constants for turning on and off DDNS configuration options. + // (Defined here as these are only meaningful to this class.) static const uint16_t ALWAYS_INCLUDE_FQDN = 1; static const uint16_t OVERRIDE_NO_UPDATE = 2; static const uint16_t OVERRIDE_CLIENT_UPDATE = 4; @@ -418,6 +419,13 @@ public: /// @param addr A string representation of the IPv6 address held in the /// NameChangeRequest. /// @param dhcid An expected DHCID value. + /// @note This value is the value that is produced by + /// dhcp_ddns::D2Dhcid::crateDigest() with the appropriate arguments. This + /// method uses encryption tools to produce the value which cannot be + /// easily duplicated by hand. It is more or less necessary to generate + /// these values programmatically and place them here. Should the + /// underlying implementation of createDigest() change these test values + /// will likely need to be updated as well. /// @param expires A timestamp when the lease associated with the /// NameChangeRequest expires. /// @param len A valid lifetime of the lease associated with the