diff options
author | Doug Barton <dougb@FreeBSD.org> | 2011-08-02 07:40:29 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2011-08-02 07:40:29 +0000 |
commit | 92ca6d96a96522bb1e8e222f02352a8b98d9203b (patch) | |
tree | bcab1b6e0db4d240584439eef7fd10b076cded30 /lib/dns/rdataset.c | |
parent | d2b93373b258059aa9768088e51b34573accbb40 (diff) |
Notes
Diffstat (limited to 'lib/dns/rdataset.c')
-rw-r--r-- | lib/dns/rdataset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dns/rdataset.c b/lib/dns/rdataset.c index efcaeac60346..c40307e169e2 100644 --- a/lib/dns/rdataset.c +++ b/lib/dns/rdataset.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2006, 2009, 2010 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2006, 2009-2011 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rdataset.c,v 1.72.18.9.10.1 2011-05-26 23:56:27 each Exp $ */ +/* $Id: rdataset.c,v 1.72.18.12 2011-06-09 00:42:48 each Exp $ */ /*! \file */ @@ -342,7 +342,7 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name, count = 1; result = dns_rdataset_first(rdataset); INSIST(result == ISC_R_NOMORE); - } else if (rdataset->type == 0) { + } else if ((rdataset->attributes & DNS_RDATASETATTR_NEGATIVE) != 0) { /* * This is a negative caching rdataset. */ |