From ffb02aeef39e5eb222c17e5de9835e8827d79438 Mon Sep 17 00:00:00 2001 From: Chris Mikkelson Date: Mon, 13 Mar 2023 11:40:26 -0500 Subject: [PATCH] Add comment to qname downcasing code --- filter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/filter.go b/filter.go index 1452c36..1af5904 100644 --- a/filter.go +++ b/filter.go @@ -103,6 +103,7 @@ func (n nameFilter) FilterMsgQname(m []byte) (bool, error) { m = m[12:] + // Downcase qname before lookup var name []byte for i := 0; i < len(m); i += int(m[i]) + 1 { llen := int(m[i])