aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/forward/forward.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/forward/forward.go b/plugin/forward/forward.go
index 66526509b..0b043e070 100644
--- a/plugin/forward/forward.go
+++ b/plugin/forward/forward.go
@@ -143,7 +143,7 @@ func (f *Forward) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg
// Check if the reply is correct; if not return FormErr.
if !state.Match(ret) {
- debug.Hexdumpf(ret, "Wrong reply for id: %d, %s/%d", state.QName(), state.QType())
+ debug.Hexdumpf(ret, "Wrong reply for id: %d, %s %d", ret.Id, state.QName(), state.QType())
formerr := state.ErrorMessage(dns.RcodeFormatError)
w.WriteMsg(formerr)