mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Change dnstap-read timestamp to millis
This commit is contained in:
parent
15abca01d4
commit
2e85d9faaa
@ -231,13 +231,13 @@ print_yaml(dns_dtdata_t *dt) {
|
|||||||
|
|
||||||
if (!isc_time_isepoch(&dt->qtime)) {
|
if (!isc_time_isepoch(&dt->qtime)) {
|
||||||
char buf[100];
|
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);
|
printf(" query_time: !!timestamp %s\n", buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isc_time_isepoch(&dt->rtime)) {
|
if (!isc_time_isepoch(&dt->rtime)) {
|
||||||
char buf[100];
|
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);
|
printf(" response_time: !!timestamp %s\n", buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user