mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[9.20] chg: usr: Record query time for all dnstap responses
Not all DNS responses had the query time set in their corresponding dnstap messages. This has been fixed. Closes #3695 Backport of MR !11527 Merge branch 'backport-3695-record-query-time-for-all-dnstap-responses-9.20' into 'bind-9.20' See merge request isc-projects/bind9!11534
This commit is contained in:
commit
f4fdcee03f
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