]> 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)
committerMark Andrews <marka@isc.org>
Tue, 14 Jun 2022 02:07:39 +0000 (12:07 +1000)
(cherry picked from commit 2b81a696593bdc406f0cadf2ec930118a86bf92c)

lib/dns/zone.c

index b7b02ae5f9dfaf89de565cd71d0a200af940f0f7..ded4bb5f23e0011ffd7a7493cc91fed919bdbb0f 100644 (file)
@@ -13144,7 +13144,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: "