Fix reflect

This commit is contained in:
Miek Gieben 2012-11-18 13:56:54 +01:00
parent 9edf63c26a
commit 62072a1d92
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ func handleReflect(w dns.ResponseWriter, r *dns.Msg) {
if *printf {
fmt.Printf("%v\n", m.String())
}
w.Write(m)
w.WriteMsg(m)
}
func serve(net, name, secret string) {