Skip to content

Commit

Permalink
- Fix for edns client subnet option add fix in removal code, from rev…
Browse files Browse the repository at this point in the history
…iew.
  • Loading branch information
wcawijngaards committed Feb 28, 2022
1 parent 8e8ccfe commit 7749d98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion edns-subnet/subnetmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7749d98

Please sign in to comment.