]> git.ipfire.org Git - thirdparty/bind9.git/commit
dnstap query_message field was erroneously set with responses
authorEvan Hunt <each@isc.org>
Fri, 26 Aug 2022 22:38:34 +0000 (15:38 -0700)
committerEvan Hunt <each@isc.org>
Wed, 31 Aug 2022 22:24:00 +0000 (15:24 -0700)
commit7bb503ca7530bac6d6f8d0332d6f38f4e7db22a3
tree0eb86c2b1a900055b49fafa96fcf61ebd4a7ce3a
parentcdf187106612d9a60ce5366d864816ae1dccfecc
dnstap query_message field was erroneously set with responses

The dnstap query_message field was in some cases being filled in
with response messages, along with the response_message field.
The query_message field should only be used when logging requests,
and the response_message field only when logging responses.

(cherry picked from commit 3ccfff8ab6bb0d38fa727334d5171221e3c38beb)
lib/dns/dnstap.c