BIND 10 trac3034, updated. fbcacb9ee3fc0ace096584df3ebe5628d2c1ee5e [3034] Minor review corrections.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Feb 20 18:46:57 UTC 2014
The branch, trac3034 has been updated
via fbcacb9ee3fc0ace096584df3ebe5628d2c1ee5e (commit)
from 7c8bb56f8708151365ceb72e2817346c0c310d8d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fbcacb9ee3fc0ace096584df3ebe5628d2c1ee5e
Author: Thomas Markwalder <tmark at isc.org>
Date: Thu Feb 20 13:45:48 2014 -0500
[3034] Minor review corrections.
Reviewed required a few comments to be added.
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp6/dhcp6_srv.cc | 4 ++--
src/bin/dhcp6/tests/fqdn_unittest.cc | 8 ++++++++
2 files changed, 10 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp6/dhcp6_srv.cc b/src/bin/dhcp6/dhcp6_srv.cc
index 1166271..0b8e9c4 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 9226285..7347958 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
More information about the bind10-changes
mailing list