bind/backport-0039-corrected-the-opcode-param-to-opcode_totext.patch

29 lines
924 B
Diff
Raw Normal View History

2022-12-26 15:55:21 +08:00
From 66cfaf0fb057eebb51a37d55c2e85679725bc740 Mon Sep 17 00:00:00 2001
From: JINMEI Tatuya <jtatuya@infoblox.com>
Date: Mon, 13 Jun 2022 16:25:40 -0700
Subject: [PATCH] corrected the opcode param to opcode_totext
(cherry picked from commit 2b81a696593bdc406f0cadf2ec930118a86bf92c)
Conflict: NA
Reference: https://gitlab.isc.org/isc-projects/bind9/-/commit/66cfaf0fb057eebb51a37d55c2e85679725bc740
---
lib/dns/zone.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/dns/zone.c b/lib/dns/zone.c
index b7b02ae5f9..ded4bb5f23 100644
--- a/lib/dns/zone.c
+++ b/lib/dns/zone.c
@@ -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: "
--
2.23.0