mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
dnstap: uses pointer receiver for small response writer (#6644)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user