aboutsummaryrefslogtreecommitdiff
path: root/plugin/proxy/dnstap.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/proxy/dnstap.go')
-rw-r--r--plugin/proxy/dnstap.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/proxy/dnstap.go b/plugin/proxy/dnstap.go
index 9633060b8..8611c8254 100644
--- a/plugin/proxy/dnstap.go
+++ b/plugin/proxy/dnstap.go
@@ -7,9 +7,10 @@ import (
"github.com/coredns/coredns/plugin/dnstap/msg"
"github.com/coredns/coredns/request"
+ "context"
+
tap "github.com/dnstap/golang-dnstap"
"github.com/miekg/dns"
- "golang.org/x/net/context"
)
func toDnstap(ctx context.Context, host string, ex Exchanger, state request.Request, reply *dns.Msg, start time.Time) error {