Skip to content

Commit

Permalink
Update to latest dns API
Browse files Browse the repository at this point in the history
  • Loading branch information
abh committed Sep 4, 2012
1 parent 0fd11bd commit d20362c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func serve(w dns.ResponseWriter, req *dns.Msg, z *Zone) {
if err != nil {
// if Pack'ing fails the Write fails. Return SERVFAIL.
log.Println("Error writing packet", m)
dns.Failed(w, req)
dns.HandleFailed(w, req)
}
return
}
Expand Down

0 comments on commit d20362c

Please sign in to comment.