]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
corrected the opcode param to opcode_totext
authorJINMEI Tatuya <jtatuya@infoblox.com>
Mon, 13 Jun 2022 23:25:40 +0000 (16:25 -0700)
committerJINMEI Tatuya <jtatuya@infoblox.com>
Mon, 13 Jun 2022 23:25:40 +0000 (16:25 -0700)
lib/dns/zone.c

index f9a758844214936da0fdf6124b3395a78cd3bc27..440ce51f9ac5dd758842720120d10916982dd331 100644 (file)
@@ -13210,7 +13210,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: "