Permalink
Browse files

also set d_requestor without Lua: the ECS logic needs it

(cherry picked from commit cd00142)
  • Loading branch information...
ahupowerdns authored and rgacogne committed Jun 13, 2017
1 parent 4fcc9e8 commit 66f894b7a139487274d6d2f3d037fe9033b2a418
Showing with 1 addition and 2 deletions.
  1. +1 −2 pdns/pdns_recursor.cc
View
@@ -755,9 +755,8 @@ void startDoResolve(void *p)
bool DNSSECOK=false;
if(t_pdl) {
sr.setLuaEngine(*t_pdl);
sr.d_requestor=dc->d_remote;
}
sr.d_requestor=dc->d_remote; // ECS needs this too
if(g_dnssecmode != DNSSECMode::Off) {
sr.d_doDNSSEC=true;

0 comments on commit 66f894b

Please sign in to comment.