mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 03:11:56 -05:00
Change dnstap-read timestamp to millis
This commit is contained in:
parent
15abca01d4
commit
2e85d9faaa
1 changed files with 2 additions and 2 deletions
|
|
@ -231,13 +231,13 @@ print_yaml(dns_dtdata_t *dt) {
|
|||
|
||||
if (!isc_time_isepoch(&dt->qtime)) {
|
||||
char buf[100];
|
||||
isc_time_formatISO8601(&dt->qtime, buf, sizeof(buf));
|
||||
isc_time_formatISO8601ms(&dt->qtime, buf, sizeof(buf));
|
||||
printf(" query_time: !!timestamp %s\n", buf);
|
||||
}
|
||||
|
||||
if (!isc_time_isepoch(&dt->rtime)) {
|
||||
char buf[100];
|
||||
isc_time_formatISO8601(&dt->rtime, buf, sizeof(buf));
|
||||
isc_time_formatISO8601ms(&dt->rtime, buf, sizeof(buf));
|
||||
printf(" response_time: !!timestamp %s\n", buf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue