allow finding types and names but not returning them. This is basically an

existance check
This commit is contained in:
Michael Graff
1999-06-03 19:03:48 +00:00
parent f12aba1ef8
commit 08d94b539a
+1 -1
View File
@@ -1389,7 +1389,7 @@ dns_message_findname(dns_message_t *msg, dns_section_t section,
/*
* And now look for the type.
*/
if (rdataset == NULL)
if (type == dns_rdatatype_any)
return (DNS_R_SUCCESS);
result = findtype(rdataset, foundname, type);