2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

opcode was not being set in response

This commit is contained in:
Mark Andrews 1999-12-16 01:47:57 +00:00
parent e7340552be
commit a8f4de1bf1

View File

@ -1734,6 +1734,7 @@ respond(ns_client_t *client, dns_result_t result) {
dns_rcode_noerror : dns_result_torcode(result));
response->flags = client->message->flags;
response->flags |= DNS_MESSAGEFLAG_QR;
response->opcode = client->message->opcode;
dns_message_destroy(&client->message);
client->message = response;