dnstap: uses pointer receiver for small response writer (#6644)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
This commit is contained in:
parent
4531515f2b
commit
a7ed346585
2 changed files with 7 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue