From 673211492ceff3b80c0307726f2956c7fbd4c9dd Mon Sep 17 00:00:00 2001 From: JINMEI Tatuya Date: Mon, 13 Jun 2022 16:30:00 -0700 Subject: [PATCH] make the fix more complete (cherry picked from commit a58647df6a0afa188ed90c410d79ccfaeacfbf8b) Conflict: NA Reference: https://gitlab.isc.org/isc-projects/bind9/-/commit/673211492ceff3b80c0307726f2956c7fbd4c9dd --- lib/dns/zone.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index ded4bb5f23..cd4db58eaf 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -13573,7 +13573,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: " @@ -13979,7 +13979,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: " @@ -18171,7 +18171,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: " -- 2.23.0