Dont mirror CD bit

This commit is contained in:
Miek Gieben 2014-08-07 22:29:44 +01:00
parent 22f120cfe8
commit 9b0cfb5a13
1 changed files with 0 additions and 1 deletions

View File

@ -18,7 +18,6 @@ const hexDigit = "0123456789abcdef"
func (dns *Msg) SetReply(request *Msg) *Msg {
dns.Id = request.Id
dns.RecursionDesired = request.RecursionDesired // Copy rd bit
dns.CheckingDisabled = request.CheckingDisabled // Copy cd bit
dns.Response = true
dns.Opcode = OpcodeQuery
dns.Rcode = RcodeSuccess