|
@@ -1,4 +1,4 @@
|
|
|
-// Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
|
|
|
+// Copyright (C) 2013-2014 Internet Systems Consortium, Inc. ("ISC")
|
|
|
//
|
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
@@ -188,7 +188,6 @@ setDomainName(const std::string& domain_name,
|
|
|
} else {
|
|
|
try {
|
|
|
domain_name_.reset(new isc::dns::Name(name, true));
|
|
|
- domain_name_type_ = name_type;
|
|
|
|
|
|
} catch (const Exception& ex) {
|
|
|
isc_throw(InvalidOption6FqdnDomainName, "invalid domain-name value '"
|
|
@@ -197,6 +196,8 @@ setDomainName(const std::string& domain_name,
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ domain_name_type_ = name_type;
|
|
|
}
|
|
|
|
|
|
void
|