Skip to content
Snippets Groups Projects
Verified Commit 47b1c5e7 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

nits

parent 5eacf9b2
Branches
Tags
1 merge request!1407new policy engine
......@@ -21,6 +21,8 @@ KR_EXPORT
void kr_rules_deinit(void);
/** Try answering the query from local data.
*
* \return kr_error(): notably -ENOENT or 0
*
* FIXME: we probably want to ensure AA flags in answer as appropriate.
* Perhaps approach it like AD? Tweak flags in ranked_rr_array_entry
......
......@@ -15,7 +15,7 @@ static_assert(FORWARDING_TIMEOUT >= KR_NS_TIMEOUT_MIN_DEAD_TIMEOUT,
"Bad combination of NS selection limits.");
struct forward_local_state {
kr_sockaddr_array_t *targets;
const kr_sockaddr_array_t *targets; /// data owned by kr_request
struct address_state *addr_states;
/** Index of last choice in the targets array, used for error reporting. */
size_t last_choice_index;
......
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