Commit 419b9d48 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1305] removed an unnecessary condition check

parent acab4a01
......@@ -510,8 +510,9 @@ DatabaseClient::Finder::find(const isc::dns::Name& name,
get_cover = dnssec_data;
} else if ((options & NO_WILDCARD) != 0) {
// If wildcard check is disabled, terminate the search with
// NXDOMAIN.
if (dnssec_data && !records_found) {
// NXDOMAIN (set later in this method). If DNSSEC proof was
// requested we'll add the NSEC RR for the proof.
if (dnssec_data) {
get_cover = true;
}
} else {
......
Markdown is supported
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