Skip to content

Commit

Permalink
- Fix unbound-dnstap-socket time fraction conversion for printout.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed May 25, 2023
1 parent d579867 commit 512236d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dnstap/unbound-dnstap-socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ static char* tv_to_str(protobuf_c_boolean has_time_sec, uint64_t time_sec,
time_t time_t_sec;
memset(&tv, 0, sizeof(tv));
if(has_time_sec) tv.tv_sec = time_sec;
if(has_time_nsec) tv.tv_usec = time_nsec;
if(has_time_nsec) tv.tv_usec = time_nsec/1000;

buf[0]=0;
time_t_sec = tv.tv_sec;
Expand Down
1 change: 1 addition & 0 deletions doc/Changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
25 May 2023: Wouter
- Fix unbound-dnstap-socket printout when no query is present.
- Fix unbound-dnstap-socket time fraction conversion for printout.

19 May 2023: Wouter
- Fix RPZ removal of client-ip, nsip, nsdname triggers from IXFR.
Expand Down

0 comments on commit 512236d

Please sign in to comment.