dnstap: uses pointer receiver for small response writer (#6644)

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
This commit is contained in:
Takeshi Yoneda 2024-04-27 04:08:47 +09:00 committed by GitHub
parent 4531515f2b
commit a7ed346585
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -17,7 +17,7 @@ type ResponseWriter struct {
query *dns.Msg
ctx context.Context
dns.ResponseWriter
Dnstap
*Dnstap
}
// WriteMsg writes back the response to the client and THEN works on logging the request and response to dnstap.