From: bert hubert Date: Tue, 13 Jun 2017 22:41:27 +0000 (+0200) Subject: also set d_requestor without Lua: the ECS logic needs it X-Git-Tag: rec-4.1.0-alpha1~87^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5397%2Fhead;p=thirdparty%2Fpdns.git also set d_requestor without Lua: the ECS logic needs it --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index de6eba32f5..e2dabebcce 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -764,9 +764,8 @@ static 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.setDoDNSSEC(true);