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
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.