From: Marek VavruĊĦa Date: Tue, 27 Oct 2015 09:03:39 +0000 (+0100) Subject: lib/cache: noted that rank is limited to 6 bits X-Git-Tag: v1.0.0-beta2~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7667235e64aeeed0548da5c08dd337cd533bc54;p=thirdparty%2Fknot-resolver.git lib/cache: noted that rank is limited to 6 bits --- diff --git a/lib/cache.h b/lib/cache.h index 4243c1bc3..211eb20cf 100644 --- a/lib/cache.h +++ b/lib/cache.h @@ -39,7 +39,8 @@ enum kr_cache_rank { KR_RANK_INSECURE = 1, /* Entry is DNSSEC insecure (e.g. RRSIG not exists). */ KR_RANK_NONAUTH = 8, /* Entry from authority section (i.e. parent-side) */ KR_RANK_AUTH = 16, /* Entry from answer (authoritative data) */ - KR_RANK_SECURE = 256, /* Entry is DNSSEC valid (e.g. RRSIG exists). */ + KR_RANK_SECURE = 64, /* Entry is DNSSEC valid (e.g. RRSIG exists). */ + /* @note Rank must not exceed 6 bits */ }; /**