- Make sure callback changes for EDNS are not lost.

This commit is contained in:
George Thessalonikefs 2022-01-14 15:18:43 +01:00
parent de1e91fc7f
commit 773d1f2911
2 changed files with 2 additions and 0 deletions

View file

@ -3278,6 +3278,7 @@ outnet_serviced_query(struct outside_network* outnet,
}
/* Restore the option list; we can explicitly use the copied one from
* now on. */
per_upstream_opt_list = qstate->edns_opts_back_out;
qstate->edns_opts_back_out = backed_up_opt_list;
if((client_string_addr = edns_string_addr_lookup(

View file

@ -1243,6 +1243,7 @@ struct serviced_query* outnet_serviced_query(struct outside_network* outnet,
}
/* Restore the option list; we can explicitly use the copied
* one from now on. */
per_upstream_opt_list = qstate->edns_opts_back_out;
qstate->edns_opts_back_out = backed_up_opt_list;
if((client_string_addr = edns_string_addr_lookup(
&env->edns_strings->client_strings,