net: dns: Check compression flag properly
Allow only 0xc (0b11) as two highest bit to mark the compression when parsing the CNAME response. See RFC 9267 ch. 2 for details. Signed-off-by:Jukka Rissanen <jukka.rissanen@nordicsemi.no> (cherry picked from commit 137eba4e)
Loading
Please sign in to comment