From: Andreas Jakum Date: Fri, 13 Nov 2015 15:17:29 +0000 (+0100) Subject: Add source IP when logging incorrect (ignored) TCP packets. X-Git-Tag: dnsdist-1.0.0-alpha1~219^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4328f463faa5cb83e7041067ac10dc8b2ecb9785;p=pdns Add source IP when logging incorrect (ignored) TCP packets. Similar to what is already in place for UDP packets. --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 3d3a37517..21ecf2563 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1009,12 +1009,12 @@ void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) dc->setRemote(&conn->d_remote); if(dc->d_mdp.d_header.qr) { delete dc; - L<d_remote.toString() <<" on server socket!"<d_mdp.d_header.opcode) { delete dc; - L<d_remote.toString() <<" on server socket!"<