2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

return notimp for qcount=0 unimplemeneted opcodes

(cherry picked from commit 7c10dc502a34f88f11c6b6469bb234c72e61fec8)
This commit is contained in:
Mark Andrews 2015-07-24 13:35:29 +10:00
parent 5d564da348
commit 58eb2006a4

View File

@ -2296,6 +2296,8 @@ client_request(isc_task_t *task, isc_event_t *event) {
ns_client_error(client, result);
return;
}
if (notimp)
client->message->rcode = dns_rcode_notimp;
ns_client_send(client);
return;
}