diff --git a/bin/named/query.c b/bin/named/query.c index bdc538113d..4ce43b1465 100644 --- a/bin/named/query.c +++ b/bin/named/query.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: query.c,v 1.226 2002/07/23 03:33:12 marka Exp $ */ +/* $Id: query.c,v 1.227 2002/07/23 03:40:19 marka Exp $ */ #include @@ -2824,8 +2824,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype) /* * Recurse! */ - /* XXXBEW look at this? */ - if (type == dns_rdatatype_key) + if (dns_rdatatype_atparent(type)) result = query_recurse(client, qtype, NULL, NULL); else