BIND 10 trac3036, updated. 785e97d51905a7d7d7d32d08ac7d82ceee272fc2 [3036] Represent FQDN Option domain-name in the downcase format.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Aug 14 11:22:05 UTC 2013
The branch, trac3036 has been updated
via 785e97d51905a7d7d7d32d08ac7d82ceee272fc2 (commit)
from 4e902ba369b16a1b3202a4c079af9db429295c97 (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 785e97d51905a7d7d7d32d08ac7d82ceee272fc2
Author: Marcin Siodelski <marcin at isc.org>
Date: Wed Aug 14 13:19:19 2013 +0200
[3036] Represent FQDN Option domain-name in the downcase format.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/option6_client_fqdn.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/option6_client_fqdn.cc b/src/lib/dhcp/option6_client_fqdn.cc
index 2f69572..ddced8f 100644
--- a/src/lib/dhcp/option6_client_fqdn.cc
+++ b/src/lib/dhcp/option6_client_fqdn.cc
@@ -174,7 +174,7 @@ setDomainName(const std::string& domain_name,
} else {
try {
- domain_name_.reset(new isc::dns::Name(name));
+ domain_name_.reset(new isc::dns::Name(name, true));
domain_name_type_ = name_type;
} catch (const Exception& ex) {
@@ -234,7 +234,7 @@ Option6ClientFqdnImpl::parseWireData(OptionBufferConstIter first,
// Reset domain name.
isc::util::InputBuffer name_buf(&buf[0], buf.size());
try {
- domain_name_.reset(new isc::dns::Name(name_buf));
+ domain_name_.reset(new isc::dns::Name(name_buf, true));
} catch (const Exception& ex) {
isc_throw(InvalidOption6FqdnDomainName, "failed to parse"
"partial domain-name from wire format");
@@ -249,7 +249,7 @@ Option6ClientFqdnImpl::parseWireData(OptionBufferConstIter first,
isc::util::InputBuffer name_buf(&(*first),
std::distance(first, last));
try {
- domain_name_.reset(new isc::dns::Name(name_buf));
+ domain_name_.reset(new isc::dns::Name(name_buf, true));
} catch (const Exception& ex) {
isc_throw(InvalidOption6FqdnDomainName, "failed to parse"
"fully qualified domain-name from wire format");
More information about the bind10-changes
mailing list