allow finding types and names but not returning them. This is basically an
existance check
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user