]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
iterate nitpick: better formulation of a comment
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 2 Aug 2018 17:19:43 +0000 (19:19 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 7 Aug 2018 11:24:49 +0000 (13:24 +0200)
I forgot to squash this before 2.4.1; better late than never.

lib/layer/iterate.c

index a02acfba7a429d817a3d98671c46d3b1c9b8d01c..84b728139fbbe7a672041ae46683a5f73076a1ff 100644 (file)
@@ -573,7 +573,8 @@ static int unroll_cname(knot_pkt_t *pkt, struct kr_request *req, bool referral,
                }
                /* The validator still can't handle multiple zones in one answer,
                 * so we only follow if a single label is replaced.
-                * TODO: this still isn't 100%, as the target may have a NS+DS. */
+                * TODO: this still isn't 100%, as the target might have a NS+DS,
+                * possibly leading to a SERVFAIL for the in-bailiwick name. */
                const int pending_labels = knot_dname_labels(pending_cname, NULL);
                if (pending_labels != cname_labels) {
                        cname = pending_cname;