]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
move a common error behind log-common-errors filter
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 18 Apr 2014 10:16:10 +0000 (12:16 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Fri, 18 Apr 2014 10:16:10 +0000 (12:16 +0200)
pdns/pdns_recursor.cc

index 05d2ea6e6c4b6ccb554e2b4a7a1adb425fbdd466..cd16f00f1a81ae392885b27a02c6ef0ca3ac90e0 100644 (file)
@@ -1496,7 +1496,7 @@ void handleUDPServerResponse(int fd, FDMultiplexer::funcparam_t& var)
   pident.id=dh.id;
   pident.fd=fd;
 
-  if(!dh.qr) {
+  if(!dh.qr && g_logCommonErrors) {
     L<<Logger::Warning<<"Not taking data from question on outgoing socket from "<< fromaddr.toStringWithPort()  <<endl;
   }