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

Merge !393: lua resolve(): make DNSSEC_WANT imply +dnssec

parents 9ec6d9af 719c6c1a
Branches
Tags
1 merge request!393lua resolve(): make DNSSEC_WANT imply +dnssec
Pipeline #25038 failed with stages
in 6 minutes and 9 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