mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix #1400: allowing use of global cache on ECS-forwarding unless
always-forward. git-svn-id: file:///svn/unbound/trunk@4352 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
ee8f07a686
commit
3427b992f7
2 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
18 September 2017: Ralph
|
||||||
|
- Fix #1400: allowing use of global cache on ECS-forwarding unless
|
||||||
|
always-forward.
|
||||||
|
|
||||||
18 September 2017: Wouter
|
18 September 2017: Wouter
|
||||||
- tag 1.6.6 (is 1.6.6rc2)
|
- tag 1.6.6 (is 1.6.6rc2)
|
||||||
- Fix that looping modules always stop the query, and don't pass
|
- Fix that looping modules always stop the query, and don't pass
|
||||||
|
|
|
||||||
|
|
@ -722,6 +722,7 @@ subnetmod_operate(struct module_qstate *qstate, enum module_ev event,
|
||||||
sq->ecs_server_out.subnet_scope_mask = 0;
|
sq->ecs_server_out.subnet_scope_mask = 0;
|
||||||
sq->ecs_server_out.subnet_validdata = 1;
|
sq->ecs_server_out.subnet_validdata = 1;
|
||||||
if(sq->ecs_server_out.subnet_source_mask != 0 &&
|
if(sq->ecs_server_out.subnet_source_mask != 0 &&
|
||||||
|
qstate->env->cfg->client_subnet_always_forward &&
|
||||||
sq->subnet_downstream)
|
sq->subnet_downstream)
|
||||||
/* ECS specific data required, do not look at the global
|
/* ECS specific data required, do not look at the global
|
||||||
* cache in other modules. */
|
* cache in other modules. */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue