From: bert hubert Date: Wed, 20 Jan 2016 15:51:38 +0000 (+0100) Subject: also support running w/o lua X-Git-Tag: dnsdist-1.0.0-alpha2~48^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0725e58cfc70947a0e8a6e86c4f0b731b450014;p=thirdparty%2Fpdns.git also support running w/o lua --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 31a92b0e93..c66a899568 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1150,7 +1150,7 @@ string* doProcessUDPQuestion(const std::string& question, const ComboAddress& fr g_mtracer->clearAllocators(); */ #endif - if((*t_pdl)->d_gettag) { + if(t_pdl->get() && (*t_pdl)->d_gettag) { unsigned int consumed=0; uint16_t qtype=0; DNSName qname(question.c_str(), question.length(), sizeof(dnsheader), false, &qtype, 0, &consumed);