From 8ab83a175a563b4dac2b8c8b66c30fa68578c115 Mon Sep 17 00:00:00 2001 From: AllenZMC Date: Mon, 19 Aug 2019 21:36:59 +0800 Subject: [PATCH] fix mis-spelling in item.go (#3156) --- plugin/cache/item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/cache/item.go b/plugin/cache/item.go index edc7610a4..3071f1512 100644 --- a/plugin/cache/item.go +++ b/plugin/cache/item.go @@ -54,7 +54,7 @@ func (i *item) toMsg(m *dns.Msg, now time.Time) *dns.Msg { m1 := new(dns.Msg) 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 // just set it to true. m1.Authoritative = true