Merge pull request #260 from jesselucas/doc-edit

Updating doc.go
This commit is contained in:
Miek Gieben 2015-09-17 07:47:08 +01:00
commit 60a765d35b
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 {