mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Record query time for all dnstap responses
The description in the protobuf specification is not a list of request
types to process but rather a list of examples to qualify the
description of whether the time indicates when the message is received
or sent.
(cherry picked from commit 479c737517)
This commit is contained in:
parent
2b00f34800
commit
7931038fa8
1 changed files with 0 additions and 9 deletions
|
|
@ -781,15 +781,6 @@ dns_dt_send(dns_view_t *view, dns_dtmsgtype_t msgtype, isc_sockaddr_t *qaddr,
|
|||
dm.m.has_response_time_sec = 1;
|
||||
dm.m.response_time_nsec = isc_time_nanoseconds(t);
|
||||
dm.m.has_response_time_nsec = 1;
|
||||
|
||||
/*
|
||||
* Types RR and FR can fall through and get the query
|
||||
* time set as well. Any other response type, break.
|
||||
*/
|
||||
if (msgtype != DNS_DTTYPE_RR && msgtype != DNS_DTTYPE_FR) {
|
||||
break;
|
||||
}
|
||||
|
||||
FALLTHROUGH;
|
||||
case DNS_DTTYPE_AQ:
|
||||
case DNS_DTTYPE_CQ:
|
||||
|
|
|
|||
Loading…
Reference in a new issue