Skip to content
Snippets Groups Projects

lua resolve(): make DNSSEC_WANT imply +dnssec

Merged Vladimír Čunát requested to merge lua_resolve into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -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);
Loading