]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Clean up comments 11801/head
authorAlessio Podda <alessio@isc.org>
Mon, 11 May 2026 08:27:35 +0000 (10:27 +0200)
committerAlessio Podda <alessio@isc.org>
Mon, 11 May 2026 08:28:20 +0000 (10:28 +0200)
A comment was still referencing the rdataset attribute, now it has been
fixed.

lib/dns/qpzone.c

index ff8b244f5d3b6c0025a8d25792272fce09fa6c89..543d56688dd27afbf5378803cb54d509e941666b 100644 (file)
@@ -5296,12 +5296,13 @@ glue_nsdname_cb(void *arg, const dns_name_t *name, dns_rdatatype_t qtype,
        }
 
        /*
-        * If the currently processed NS record is in-bailiwick, mark any glue
-        * RRsets found for it with 'required' attribute.  Note that for
-        * simplicity, glue RRsets for all in-bailiwick NS records are marked
-        * this way, even though dns_message_rendersection() only checks the
-        * attributes for the first rdataset associated with the first name
-        * added to the ADDITIONAL section.
+        * If the currently processed NS record is in-bailiwick, mark the
+        * glue as 'required'.  The flag is later propagated to the rdataset
+        * attributes when the glue is bound.  Note that for simplicity, glue
+        * for all in-bailiwick NS records is marked this way, even though
+        * dns_message_rendersection() only checks the attributes for the
+        * first rdataset associated with the first name added to the
+        * ADDITIONAL section.
         */
        if (glue != NULL && dns_name_issubdomain(name, ctx->owner_name)) {
                glue->required = true;