From 4328f463faa5cb83e7041067ac10dc8b2ecb9785 Mon Sep 17 00:00:00 2001 From: Andreas Jakum Date: Fri, 13 Nov 2015 16:17:29 +0100 Subject: [PATCH] Add source IP when logging incorrect (ignored) TCP packets. Similar to what is already in place for UDP packets. --- pdns/pdns_recursor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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!"<