]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
make the fix more complete
authorJINMEI Tatuya <jtatuya@infoblox.com>
Mon, 13 Jun 2022 23:30:00 +0000 (16:30 -0700)
committerMark Andrews <marka@isc.org>
Tue, 14 Jun 2022 02:07:39 +0000 (12:07 +1000)
(cherry picked from commit a58647df6a0afa188ed90c410d79ccfaeacfbf8b)

lib/dns/zone.c

index ded4bb5f23e0011ffd7a7493cc91fed919bdbb0f..cd4db58eaf13cabd39ccc9bcf25f212440511143 100644 (file)
@@ -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: "