]> granicus.if.org Git - pdns/commitdiff
also set d_requestor without Lua: the ECS logic needs it
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 13 Jun 2017 22:41:27 +0000 (00:41 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 13 Jun 2017 22:42:12 +0000 (00:42 +0200)
pdns/pdns_recursor.cc

index de6eba32f52df80703f83c13fae2522e38bf057d..e2dabebcced6f6828ff16a492b49076ccca2a450 100644 (file)
@@ -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);