]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish debugs on NAT failure
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 16 Jul 2015 07:00:12 +0000 (00:00 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 16 Jul 2015 07:00:12 +0000 (00:00 -0700)
src/comm/TcpAcceptor.cc

index c18ebc5c370518de14101f201f6384e6f87249fb..4c98b7b7f19027e0bf40c71266aefc4ae4280c34 100644 (file)
@@ -406,6 +406,7 @@ Comm::TcpAcceptor::oldAccept(Comm::ConnectionPointer &details)
 
     // Perform NAT or TPROXY operations to retrieve the real client/dest IP addresses
     if (conn->flags&(COMM_TRANSPARENT|COMM_INTERCEPTION) && !Ip::Interceptor.Lookup(details, conn)) {
+        debugs(50, DBG_IMPORTANT, "ERROR: NAT/TPROXY lookup failed to locate original IPs on " << details);
         // Failed.
         PROF_stop(comm_accept);
         return Comm::COMM_ERROR;