Outgoing module options go to opt_list_modules_out

And opt_list_modules_out is reset in case of failure
BEWARE! No options from modules will be encoded in the responses now!
This commit is contained in:
Tom Carpay
2021-10-27 14:01:56 +00:00
parent 3e6eeb504d
commit 3ebfa9fc97
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1097,7 +1097,7 @@ static int inplace_cb_reply_call_generic(
(void)(*(inplace_cb_reply_func_type*)cb->cb)(qinfo, qstate, rep,
rcode, edns, &opt_list_out, repinfo, region, start_time, cb->id, cb->cb_arg);
}
edns->opt_list = opt_list_out;
edns->opt_list_modules_out = opt_list_out;
return 1;
}