From: bert hubert Date: Sat, 20 Feb 2016 21:03:21 +0000 (+0100) Subject: Merge pull request #3356 from rgacogne/dnsdist-parse-failures-log X-Git-Tag: auth-4.0.0-alpha2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0db58064f1437268a2192cee924e12da41306991;p=thirdparty%2Fpdns.git Merge pull request #3356 from rgacogne/dnsdist-parse-failures-log dnsdist: Display the query ID and remote IP when parsing fails --- 0db58064f1437268a2192cee924e12da41306991 diff --cc pdns/dnsdist.cc index 87cadb5585,d6cbd8b3ad..b0d2a544e4 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@@ -605,9 -535,9 +605,10 @@@ tr auto localRulactions = g_rulactions.getLocal(); auto localServers = g_dstates.getLocal(); auto localDynBlock = g_dynblockNMG.getLocal(); + auto localPools = g_pools.getLocal(); struct msghdr msgh; struct iovec iov; + uint16_t queryId = 0; /* used by HarvestDestinationAddress */ char cbuf[256]; remote.sin6.sin6_family=cs->local.sin6.sin6_family;