From: Bert Hubert Date: Sun, 22 Jan 2012 21:05:38 +0000 (+0000) Subject: spruce up some unexpected packet logging, update (C), add warning about not using... X-Git-Tag: auth-3.1-rc1~159 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4fb76e9e4560eacb44e378568e03ea4df25bf82;p=pdns spruce up some unexpected packet logging, update (C), add warning about not using IPv6 for outgoing queries unless configured to do so. git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2367 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index e51d9e849..557cf1825 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1,6 +1,6 @@ /* PowerDNS Versatile Database Driven Nameserver - Copyright (C) 2003 - 2011 PowerDNS.COM BV + Copyright (C) 2003 - 2012 PowerDNS.COM BV This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 @@ -1468,8 +1468,9 @@ void handleUDPServerResponse(int fd, FDMultiplexer::funcparam_t& var) } } g_stats.unexpectedCount++; // if we made it here, it really is an unexpected answer - if(g_logCommonErrors) - L<d_waiters.size()<<" waiters"<= 0) { t_udpclientsocks->returnSocket(fd); @@ -1616,7 +1617,7 @@ int serviceMain(int argc, char*argv[]) L< addrs; if(!::arg()["query-local-address6"].empty()) { SyncRes::s_doIPv6=true; - L<