]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix CDS/CDSNKEY publication logging
authorMatthijs Mekking <matthijs@isc.org>
Mon, 30 Jan 2023 09:51:06 +0000 (10:51 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Tue, 28 Feb 2023 08:36:39 +0000 (09:36 +0100)
The CDS and CDNSKEY "is published" logs were mixed up (CDNSKEY was
logged when CDS was published and vice versa).

lib/dns/dnssec.c

index 1e847ac63a973918c7c80b04ac16cc21460197ba..07bae99c45c338c5f907abd351851b0c89a705d5 100644 (file)
@@ -2013,7 +2013,7 @@ dns_dnssec_syncupdate(dns_dnsseckeylist_t *keys, dns_dnsseckeylist_t *rmkeys,
                                isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,
                                              DNS_LOGMODULE_DNSSEC,
                                              ISC_LOG_INFO,
-                                             "CDS for key %s is now published",
+                                             "CDNSKEY for key %s is now published",
                                              keystr);
                                RETERR(addrdata(&cdnskeyrdata, diff, origin,
                                                ttl, mctx));
@@ -2025,7 +2025,7 @@ dns_dnssec_syncupdate(dns_dnsseckeylist_t *keys, dns_dnsseckeylist_t *rmkeys,
                                isc_log_write(
                                        dns_lctx, DNS_LOGCATEGORY_GENERAL,
                                        DNS_LOGMODULE_DNSSEC, ISC_LOG_INFO,
-                                       "CDNSKEY for key %s is now published",
+                                       "CDS for key %s is now published",
                                        keystr);
                                RETERR(addrdata(&cds_sha256, diff, origin, ttl,
                                                mctx));