]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
comment fixes (rt19624)
authorFrancis Dupont <fdupont@isc.org>
Thu, 7 May 2009 09:41:23 +0000 (09:41 +0000)
committerFrancis Dupont <fdupont@isc.org>
Thu, 7 May 2009 09:41:23 +0000 (09:41 +0000)
bin/named/client.c
bin/named/include/named/client.h
bin/named/query.c
lib/dns/include/dns/db.h
lib/dns/resolver.c
lib/dns/validator.c
lib/dns/zone.c

index 92035de60825001ae25bbe2f78db6a595c3657a9..19fa2251b8c5f573513f894078993aa910bf9dd4 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.264 2009/03/03 23:48:02 tbox Exp $ */
+/* $Id: client.c,v 1.265 2009/05/07 09:41:21 fdupont Exp $ */
 
 #include <config.h>
 
@@ -1472,7 +1472,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
 
        /*
         * Silently drop multicast requests for the present.
-        * XXXMPA look at when/if mDNS spec stabilizes.
+        * XXXMPA revisit this as mDNS spec was published.
         */
        if ((client->attributes & NS_CLIENTATTR_MULTICAST) != 0) {
                ns_client_log(client, NS_LOGCATEGORY_CLIENT,
index 1267972d077fbc906a464b63889459c4c793d758..f6956454e19c1302aad8a4c9c34cc0cd16bd0261 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.h,v 1.89 2009/03/03 01:36:17 marka Exp $ */
+/* $Id: client.h,v 1.90 2009/05/07 09:41:22 fdupont Exp $ */
 
 #ifndef NAMED_CLIENT_H
 #define NAMED_CLIENT_H 1
@@ -300,7 +300,7 @@ ns_client_checkaclsilent(ns_client_t *client, isc_netaddr_t *netaddr,
  *
  * Returns:
  *\li  ISC_R_SUCCESS   if the request should be allowed
- * \li ISC_R_REFUSED   if the request should be denied
+ * \li DNS_R_REFUSED   if the request should be denied
  *\li  No other return values are possible.
  */
 
index 98f4bf000b1c72f350153b8ac7da55f9ebae0a33..42d036c0a8eb0f1c270c6ce0eb894d57e073e5a7 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: query.c,v 1.323 2009/04/30 11:45:10 fdupont Exp $ */
+/* $Id: query.c,v 1.324 2009/05/07 09:41:22 fdupont Exp $ */
 
 /*! \file */
 
@@ -2851,7 +2851,7 @@ query_addwildcardproof(ns_client_t *client, dns_db_t *db,
         *  j.example -> z.i.example NSEC example
         *      owner common example
         *      next common example
-        *      wild *.f.example
+        *      wild *.example
         */
        options = client->query.dboptions | DNS_DBFIND_NOWILD;
        dns_fixedname_init(&wfixed);
index 40864efbac6f0d2b144da3fd1f0ace8faf54d603..e4e89efe1c078818f02c4cb4801b2f9c1fd66f9b 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: db.h,v 1.96 2009/01/17 12:31:49 fdupont Exp $ */
+/* $Id: db.h,v 1.97 2009/05/07 09:41:23 fdupont Exp $ */
 
 #ifndef DNS_DB_H
 #define DNS_DB_H 1
@@ -836,6 +836,9 @@ dns_db_find(dns_db_t *db, dns_name_t *name, dns_dbversion_t *version,
  *     \li     #DNS_R_COVERINGNSEC             The returned data is a NSEC
  *                                             that potentially covers 'name'.
  *
+ *     \li     #DNS_R_EMPTYWILD                The name is a wildcard without
+ *                                             resource records.
+ *
  *     Error results:
  *
  *     \li     #ISC_R_NOMEMORY
index f0b0236def9f6cf4206b2593950e5709c2ffd255..9e51a5b440948d4ba87cb0bd0167787bfc0d3a14 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resolver.c,v 1.394 2009/03/01 02:45:38 each Exp $ */
+/* $Id: resolver.c,v 1.395 2009/05/07 09:41:22 fdupont Exp $ */
 
 /*! \file */
 
@@ -5039,7 +5039,7 @@ noanswer_response(fetchctx_t *fctx, dns_name_t *oqname,
                                         *
                                         * These should only be here if
                                         * this is a referral, and there
-                                        * should only be one DS.
+                                        * should only be one DS RRset.
                                         */
                                        if (ns_name == NULL)
                                                return (DNS_R_FORMERR);
index 528c3132ccced4ee4873306464ec44a7c7a5b6eb..3578e2a2582092331a207a312d70a73de3002f09 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: validator.c,v 1.174 2009/05/07 02:34:19 marka Exp $ */
+/* $Id: validator.c,v 1.175 2009/05/07 09:41:22 fdupont Exp $ */
 
 #include <config.h>
 
@@ -368,7 +368,7 @@ isdelegation(dns_name_t *name, dns_rdataset_t *rdataset,
 }
 
 /*%
- * We have been asked to to look for a key.
+ * We have been asked to look for a key.
  * If found resume the validation process.
  * If not found fail the validation process.
  */
@@ -1014,7 +1014,7 @@ nsec3noexistnodata(dns_validator_t *val, dns_name_t* name,
                        if (ns && !soa) {
                                if (!atparent) {
                                        /*
-                                        * This NSEC record is from somewhere
+                                        * This NSEC3 record is from somewhere
                                         * higher in the DNS, and at the
                                         * parent of a delegation. It can not
                                         * be legitimately used here.
@@ -1025,7 +1025,7 @@ nsec3noexistnodata(dns_validator_t *val, dns_name_t* name,
                                }
                        } else if (atparent && ns && soa) {
                                /*
-                                * This NSEC record is from the child.
+                                * This NSEC3 record is from the child.
                                 * It can not be legitimately used here.
                                 */
                                validator_log(val, ISC_LOG_DEBUG(3),
@@ -2921,7 +2921,6 @@ nsecvalidate(dns_validator_t *val, isc_boolean_t resume) {
                              "nonexistence proof(s) found");
                return (ISC_R_SUCCESS);
        }
-               findnsec3proofs(val);
 
        validator_log(val, ISC_LOG_DEBUG(3),
                      "nonexistence proof(s) not found");
index 61e872ceed689fac39a70a8bbf5b3a20699ae78c..677f9910510185892a0a236c831ae50b6e776e13 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.c,v 1.491 2009/04/28 23:48:01 tbox Exp $ */
+/* $Id: zone.c,v 1.492 2009/05/07 09:41:22 fdupont Exp $ */
 
 /*! \file */
 
@@ -8686,7 +8686,7 @@ dns_zone_notifyreceive(dns_zone_t *zone, isc_sockaddr_t *from,
        REQUIRE(DNS_ZONE_VALID(zone));
 
        /*
-        * If type != T_SOA return DNS_R_REFUSED.  We don't yet support
+        * If type != T_SOA return DNS_R_NOTIMP.  We don't yet support
         * ROLLOVER.
         *
         * SOA: RFC1996