mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
opcode was not being set in response
This commit is contained in:
@@ -1734,6 +1734,7 @@ respond(ns_client_t *client, dns_result_t result) {
|
|||||||
dns_rcode_noerror : dns_result_torcode(result));
|
dns_rcode_noerror : dns_result_torcode(result));
|
||||||
response->flags = client->message->flags;
|
response->flags = client->message->flags;
|
||||||
response->flags |= DNS_MESSAGEFLAG_QR;
|
response->flags |= DNS_MESSAGEFLAG_QR;
|
||||||
|
response->opcode = client->message->opcode;
|
||||||
|
|
||||||
dns_message_destroy(&client->message);
|
dns_message_destroy(&client->message);
|
||||||
client->message = response;
|
client->message = response;
|
||||||
|
Reference in New Issue
Block a user