diff options
author | Doug Barton <dougb@FreeBSD.org> | 2011-11-17 00:33:38 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2011-11-17 00:33:38 +0000 |
commit | ca0741f42873a22215b9154a970266bb224defb4 (patch) | |
tree | 972f0127f08ea4b4bc24969fe80f5c6ddd80f677 /lib/dns/rbtdb.c | |
parent | 0842d663b7cfb84b478ec937fc1dbc640ceae92b (diff) | |
download | src-ca0741f42873a22215b9154a970266bb224defb4.tar.gz src-ca0741f42873a22215b9154a970266bb224defb4.zip |
Vendor import of BIND 9.6-ESV-R5-P1vendor/bind9/9.6-ESV-R5-P1
Notes
Notes:
svn path=/vendor/bind9/dist-9.6/; revision=227597
svn path=/vendor/bind9/9.6-ESV-R5-P1/; revision=227598; tag=vendor/bind9/9.6-ESV-R5-P1
Diffstat (limited to 'lib/dns/rbtdb.c')
-rw-r--r-- | lib/dns/rbtdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dns/rbtdb.c b/lib/dns/rbtdb.c index 66ef0277d1cb..2f065aa0931d 100644 --- a/lib/dns/rbtdb.c +++ b/lib/dns/rbtdb.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rbtdb.c,v 1.270.12.32 2011-06-09 00:16:35 each Exp $ */ +/* $Id: rbtdb.c,v 1.270.12.32.8.1 2011-11-16 09:11:42 marka Exp $ */ /*! \file */ @@ -4681,7 +4681,7 @@ cache_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version, rdataset); if (need_headerupdate(found, search.now)) update = found; - if (foundsig != NULL) { + if (!NEGATIVE(found) && foundsig != NULL) { bind_rdataset(search.rbtdb, node, foundsig, search.now, sigrdataset); if (need_headerupdate(foundsig, search.now)) @@ -5313,7 +5313,7 @@ cache_findrdataset(dns_db_t *db, dns_dbnode_t *node, dns_dbversion_t *version, } if (found != NULL) { bind_rdataset(rbtdb, rbtnode, found, now, rdataset); - if (foundsig != NULL) + if (!NEGATIVE(found) && foundsig != NULL) bind_rdataset(rbtdb, rbtnode, foundsig, now, sigrdataset); } |