fix mis-spelling in item.go (#3156)

This commit is contained in:
AllenZMC
2019-08-19 21:36:59 +08:00
committed by Chris O'Haver
parent 81bba80159
commit 8ab83a175a

View File

@@ -54,7 +54,7 @@ func (i *item) toMsg(m *dns.Msg, now time.Time) *dns.Msg {
m1 := new(dns.Msg) m1 := new(dns.Msg)
m1.SetReply(m) m1.SetReply(m)
// Set this to true as some DNS clients disgard the *entire* packet when it's non-authoritative. // Set this to true as some DNS clients discard the *entire* packet when it's non-authoritative.
// This is probably not according to spec, but the bit itself is not super useful as this point, so // This is probably not according to spec, but the bit itself is not super useful as this point, so
// just set it to true. // just set it to true.
m1.Authoritative = true m1.Authoritative = true