]> 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)
committerJINMEI Tatuya <jtatuya@infoblox.com>
Mon, 13 Jun 2022 23:30:00 +0000 (16:30 -0700)
lib/dns/zone.c

index 440ce51f9ac5dd758842720120d10916982dd331..67e9e526b96814615eef75bd0a191123721cbeb2 100644 (file)
@@ -13641,7 +13641,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: "
@@ -14051,7 +14051,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: "
@@ -18269,7 +18269,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: "