Updating doc.go

Msg is undefined and should use dns.Msg
This commit is contained in:
Jesse Lucas 2015-09-16 22:18:25 -04:00
parent 46e689ee11
commit cae5606f00
1 changed files with 1 additions and 1 deletions

2
doc.go
View File

@ -184,7 +184,7 @@ Basic use pattern validating and replying to a message that has TSIG set.
dns.HandleFunc(".", handleRequest)
func handleRequest(w dns.ResponseWriter, r *dns.Msg) {
m := new(Msg)
m := new(dns.Msg)
m.SetReply(r)
if r.IsTsig() {
if w.TsigStatus() == nil {