- Fix for edns client subnet option add fix in removal code, from review.

This commit is contained in:
W.C.A. Wijngaards 2022-02-28 14:51:35 +01:00
parent 8e8ccfe3c3
commit 7749d98a14
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@
- Fix edns client subnet to add the option based on the option list,
so that it is not state dependent, after the state fix of #605 for
double EDNS options.
- Fix for edns client subnet option add fix in removal code, from review.
25 February 2022: Wouter
- Fix to detect that no IPv6 support means that IPv6 addresses are

View file

@ -172,7 +172,7 @@ int ecs_whitelist_check(struct query_info* qinfo,
else {
/* Outgoing ECS option is set, but we don't want to sent it to
* this address, remove option. */
if(!edns_opt_list_find(qstate->edns_opts_back_out,
if(edns_opt_list_find(qstate->edns_opts_back_out,
qstate->env->cfg->client_subnet_opcode)) {
edns_opt_list_remove(&qstate->edns_opts_back_out,
qstate->env->cfg->client_subnet_opcode);