Commit 0d0b9b0e authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[1483] Enable any mode on getRRsets

parent d254b329
......@@ -597,7 +597,7 @@ DatabaseClient::Finder::findWildcardMatch(
// RFC 4592 section 4.4).
// Search for a match. The types are the same as with original query.
FoundRRsets found = getRRsets(wildcard, final_types, true,
&construct_name, type == RRType::ANY());
if (found.first) {
// Found something - but what?
......@@ -863,7 +863,8 @@ DatabaseClient::Finder::findInternal(const isc::dns::Name& name,
WantedTypes final_types(FINAL_TYPES());
const FoundRRsets found = getRRsets(name.toText(), final_types,
!is_origin, NULL,
type == RRType::ANY());
if (found.first) {
// Something found at the domain name. Look into it further to get
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment