diff --git a/CHANGES b/CHANGES index 961f3c35ff..ee5f6d52ee 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +5903. [bug] When named checks that the OPCODE in a response matches + that of the request, if there is a mismatch named logs + an error. Some of those error messages incorrectly + used RCODE instead of OPCODE to lookup the nemonic. + This has been corrected. [GL !6420] + 5901. [bug] When processing a catalog zone member zone make sure that there is no configured pre-existing forward-only forward zone with that name. [GL #2506] diff --git a/lib/dns/zone.c b/lib/dns/zone.c index 0466d35ed2..f04bb5737b 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -13232,7 +13232,7 @@ stub_glue_response_cb(isc_task_t *task, isc_event_t *event) { isc_buffer_t rb; isc_buffer_init(&rb, opcode, sizeof(opcode)); - (void)dns_opcode_totext(msg->rcode, &rb); + (void)dns_opcode_totext(msg->opcode, &rb); dns_zone_log(zone, ISC_LOG_INFO, "refreshing stub: " @@ -13665,7 +13665,7 @@ stub_callback(isc_task_t *task, isc_event_t *event) { isc_buffer_t rb; isc_buffer_init(&rb, opcode, sizeof(opcode)); - (void)dns_opcode_totext(msg->rcode, &rb); + (void)dns_opcode_totext(msg->opcode, &rb); dns_zone_log(zone, ISC_LOG_INFO, "refreshing stub: " @@ -14076,7 +14076,7 @@ refresh_callback(isc_task_t *task, isc_event_t *event) { isc_buffer_t rb; isc_buffer_init(&rb, opcode, sizeof(opcode)); - (void)dns_opcode_totext(msg->rcode, &rb); + (void)dns_opcode_totext(msg->opcode, &rb); dns_zone_log(zone, ISC_LOG_INFO, "refresh: " @@ -18336,7 +18336,7 @@ forward_callback(isc_task_t *task, isc_event_t *event) { isc_buffer_t rb; isc_buffer_init(&rb, opcode, sizeof(opcode)); - (void)dns_opcode_totext(msg->rcode, &rb); + (void)dns_opcode_totext(msg->opcode, &rb); dns_zone_log(zone, ISC_LOG_INFO, "forwarding dynamic update: "