From 3fdad8e3bb5c06588ecdfa5f4eb7a8d13c9426b9 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 15 Nov 2000 04:53:06 +0000 Subject: [PATCH] adjust is_lame test for same level. --- lib/dns/resolver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index 7a96b82ee5..d2b8dcce46 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: resolver.c,v 1.181 2000/11/13 21:34:00 bwelling Exp $ */ +/* $Id: resolver.c,v 1.182 2000/11/15 04:53:06 marka Exp $ */ #include @@ -2213,8 +2213,8 @@ is_lame(fetchctx_t *fctx) { namereln = dns_name_fullcompare(name, &fctx->domain, &order, &labels, &bits); if (namereln == dns_namereln_equal && - (message->flags & DNS_MESSAGEFLAG_AA) == 0) - return (ISC_TRUE); + (message->flags & DNS_MESSAGEFLAG_AA) != 0) + return (ISC_FALSE); if (namereln == dns_namereln_subdomain) return (ISC_FALSE); return (ISC_TRUE);