--------------------- PatchSet 6739 Date: 2008/02/05 22:19:51 Author: amosjeffries Branch: ayjwork Tag: (none) Log: Update transparent debugging to display address of peer when lookup fails. This will make testing for iptables capabilities easier in future. Members: src/IPInterception.cc:1.10.8.4->1.10.8.5 Index: squid3/src/IPInterception.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/IPInterception.cc,v retrieving revision 1.10.8.4 retrieving revision 1.10.8.5 diff -u -r1.10.8.4 -r1.10.8.5 --- squid3/src/IPInterception.cc 18 Dec 2007 13:07:25 -0000 1.10.8.4 +++ squid3/src/IPInterception.cc 5 Feb 2008 22:19:51 -0000 1.10.8.5 @@ -1,6 +1,6 @@ /* - * $Id: IPInterception.cc,v 1.10.8.4 2007/12/18 13:07:25 amosjeffries Exp $ + * $Id: IPInterception.cc,v 1.10.8.5 2008/02/05 22:19:51 amosjeffries Exp $ * * DEBUG: section 89 NAT / IP Interception * AUTHOR: Robert Collins @@ -218,7 +218,7 @@ dst.FreeAddrInfo(lookup); if (squid_curtime - last_reported > 60) { - debugs(89, 1, "clientNatLookup: NF getsockopt(SO_ORIGINAL_DST) failed: " << xstrerror()); + debugs(89, 1, "clientNatLookup: peer " << peer << " NF getsockopt(SO_ORIGINAL_DST) failed: " << xstrerror()); last_reported = squid_curtime; }