aboutsummaryrefslogtreecommitdiff
path: root/contrib/bind9/lib/dns/ncache.c
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2007-06-02 23:21:47 +0000
committerDoug Barton <dougb@FreeBSD.org>2007-06-02 23:21:47 +0000
commit141cfa50294bfad08bb6c6419f1dc4fc3165c6ab (patch)
tree6e65ba28d6d850f4d5c07cd37f26842e97b4aecf /contrib/bind9/lib/dns/ncache.c
parentfa5fb0343e2347012cf980b8273e2cba6c36de4a (diff)
downloadsrc-141cfa50294bfad08bb6c6419f1dc4fc3165c6ab.tar.gz
src-141cfa50294bfad08bb6c6419f1dc4fc3165c6ab.zip
Vendor import of BIND 9.4.1
Notes
Notes: svn path=/vendor/bind9/dist/; revision=170222
Diffstat (limited to 'contrib/bind9/lib/dns/ncache.c')
-rw-r--r--contrib/bind9/lib/dns/ncache.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/contrib/bind9/lib/dns/ncache.c b/contrib/bind9/lib/dns/ncache.c
index dddde60ee187..1fdc5c80e2d0 100644
--- a/contrib/bind9/lib/dns/ncache.c
+++ b/contrib/bind9/lib/dns/ncache.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: ncache.c,v 1.24.2.4.2.7 2004/03/08 02:07:54 marka Exp $ */
+/* $Id: ncache.c,v 1.36.18.3 2005/04/29 00:15:59 marka Exp $ */
+
+/*! \file */
#include <config.h>
@@ -184,7 +186,7 @@ dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
*
* We trust that the caller wants negative caching, so this
* means we have a "type 3 nxdomain" or "type 3 nodata"
- * response (see RFC 2308 for details).
+ * response (see RFC2308 for details).
*
* We will now build a suitable negative cache rdataset that
* will cause zero bytes to be emitted when converted to
@@ -208,7 +210,7 @@ dns_ncache_add(dns_message_t *message, dns_db_t *cache, dns_dbnode_t *node,
isc_buffer_putuint16(&buffer, 0);
isc_buffer_putuint16(&buffer, 0);
/*
- * RFC 2308, section 5, says that negative answers without
+ * RFC2308, section 5, says that negative answers without
* SOAs should not be cached.
*/
ttl = 0;
@@ -473,6 +475,9 @@ static dns_rdatasetmethods_t rdataset_methods = {
rdataset_clone,
rdataset_count,
NULL,
+ NULL,
+ NULL,
+ NULL,
NULL
};