mirror of
https://github.com/miekg/dns.git
synced 2025-12-15 16:51:48 +01:00
Dont mirror CD bit
This commit is contained in:
parent
22f120cfe8
commit
9b0cfb5a13
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user