Skip to content
Snippets Groups Projects
Commit a7667235 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

lib/cache: noted that rank is limited to 6 bits

parent 2a88f34e
Branches
Tags
No related merge requests found
......@@ -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 */
};
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment