diff options
Diffstat (limited to 'plugin/dnstap/handler.go')
-rw-r--r-- | plugin/dnstap/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/dnstap/handler.go b/plugin/dnstap/handler.go index 1ae0e3c62..04d29860e 100644 --- a/plugin/dnstap/handler.go +++ b/plugin/dnstap/handler.go @@ -23,7 +23,7 @@ type Dnstap struct { // TapMessage sends the message m to the dnstap interface. func (h Dnstap) TapMessage(m *tap.Message) { t := tap.Dnstap_MESSAGE - h.io.Dnstap(tap.Dnstap{Type: &t, Message: m}) + h.io.Dnstap(&tap.Dnstap{Type: &t, Message: m}) } func (h Dnstap) tapQuery(w dns.ResponseWriter, query *dns.Msg, queryTime time.Time) { |