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

lua resolve(): make DNSSEC_WANT imply +dnssec

parent 9ec6d9af
Branches
Tags
1 merge request!393lua resolve(): make DNSSEC_WANT imply +dnssec
Pipeline #25028 passed with stages
in 11 minutes and 27 seconds
......@@ -1223,6 +1223,9 @@ static int wrk_resolve(lua_State *L)
lua_pushstring(L, "invalid options");
lua_error(L);
}
if (options->DNSSEC_WANT) {
knot_edns_set_do(pkt->opt_rr);
}
if (lua_isfunction(L, 5)) {
/* Store callback in registry */
lua_pushvalue(L, 5);
......
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