Skip to content

Commit

Permalink
Add comment to qname downcasing code
Browse files Browse the repository at this point in the history
  • Loading branch information
cmikk authored and reedjc committed Apr 17, 2023
1 parent 05d243d commit ffb02ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit ffb02ae

Please sign in to comment.