Commit a8f4de1b authored by Mark Andrews's avatar Mark Andrews
Browse files

opcode was not being set in response

parent e7340552
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment