mirror of
https://github.com/miekg/dns.git
synced 2025-12-16 09:11:34 +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 {
|
func (dns *Msg) SetReply(request *Msg) *Msg {
|
||||||
dns.Id = request.Id
|
dns.Id = request.Id
|
||||||
dns.RecursionDesired = request.RecursionDesired // Copy rd bit
|
dns.RecursionDesired = request.RecursionDesired // Copy rd bit
|
||||||
dns.CheckingDisabled = request.CheckingDisabled // Copy cd bit
|
|
||||||
dns.Response = true
|
dns.Response = true
|
||||||
dns.Opcode = OpcodeQuery
|
dns.Opcode = OpcodeQuery
|
||||||
dns.Rcode = RcodeSuccess
|
dns.Rcode = RcodeSuccess
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user