diff --git a/lib/dns/zone.c b/lib/dns/zone.c index f9a7588442..440ce51f9a 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -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: "