]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
re-split log message text
authorMark Andrews <marka@isc.org>
Tue, 2 Sep 2025 05:48:35 +0000 (15:48 +1000)
committerMichał Kępień <michal@isc.org>
Mon, 29 Sep 2025 11:08:24 +0000 (13:08 +0200)
(cherry picked from commit a64c35052363f659ef589a87a49cca4281d99379)

lib/dns/resolver.c

index 2c354f565ed32c55b94e7311951978cf983113c3..7496256471235dcf94111724f13f7812dd824396 100644 (file)
@@ -9512,11 +9512,10 @@ rctx_authority_negative(respctx_t *rctx) {
                                        if (rctx->ns_name != NULL &&
                                            name != rctx->ns_name)
                                        {
-                                               log_formerr(fctx, "multiple NS "
-                                                                 "RRsets "
-                                                                 "in "
-                                                                 "authority "
-                                                                 "section");
+                                               log_formerr(
+                                                       fctx,
+                                                       "multiple NS RRsets in "
+                                                       "authority section");
                                                rctx->result = DNS_R_FORMERR;
                                                return ISC_R_COMPLETE;
                                        }
@@ -9537,11 +9536,10 @@ rctx_authority_negative(respctx_t *rctx) {
                                        if (rctx->soa_name != NULL &&
                                            name != rctx->soa_name)
                                        {
-                                               log_formerr(fctx, "multiple "
-                                                                 "SOA RRs "
-                                                                 "in "
-                                                                 "authority "
-                                                                 "section");
+                                               log_formerr(
+                                                       fctx,
+                                                       "multiple SOA RRs in "
+                                                       "authority section");
                                                rctx->result = DNS_R_FORMERR;
                                                return ISC_R_COMPLETE;
                                        }
@@ -9691,8 +9689,8 @@ rctx_authority_dnssec(respctx_t *rctx) {
                                 * one DS RRset.
                                 */
                                if (rctx->ns_name == NULL) {
-                                       log_formerr(fctx, "DS with no "
-                                                         "referral");
+                                       log_formerr(fctx,
+                                                   "DS with no referral");
                                        rctx->result = DNS_R_FORMERR;
                                        return ISC_R_COMPLETE;
                                }
@@ -9701,10 +9699,9 @@ rctx_authority_dnssec(respctx_t *rctx) {
                                        if (rctx->ds_name != NULL &&
                                            name != rctx->ds_name)
                                        {
-                                               log_formerr(fctx, "DS doesn't "
-                                                                 "match "
-                                                                 "referral "
-                                                                 "(NS)");
+                                               log_formerr(fctx,
+                                                           "DS doesn't match "
+                                                           "referral (NS)");
                                                rctx->result = DNS_R_FORMERR;
                                                return ISC_R_COMPLETE;
                                        }