]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Merge pull request #3356 from rgacogne/dnsdist-parse-failures-log
authorbert hubert <bert.hubert@netherlabs.nl>
Sat, 20 Feb 2016 21:03:21 +0000 (22:03 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sat, 20 Feb 2016 21:03:21 +0000 (22:03 +0100)
dnsdist: Display the query ID and remote IP when parsing fails

1  2 
pdns/dnsdist.cc

diff --cc pdns/dnsdist.cc
index 87cadb55852e8bab8276c423f0c98da3000e8233,d6cbd8b3ada23019985829163d8f8d936643174e..b0d2a544e4fc5bb44341a7b7887413043bd92501
@@@ -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;