--------------------- PatchSet 1407 Date: 2005/05/22 14:30:16 Author: rmartinez Branch: squid3-ipv6 Tag: (none) Log: Fixing URL' format to IPv6. Module ready unless error Members: src/peer_digest.cc:1.11->1.11.4.1 Index: squid3/src/peer_digest.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/peer_digest.cc,v retrieving revision 1.11 retrieving revision 1.11.4.1 diff -u -r1.11 -r1.11.4.1 --- squid3/src/peer_digest.cc 4 Jan 2005 03:13:39 -0000 1.11 +++ squid3/src/peer_digest.cc 22 May 2005 14:30:16 -0000 1.11.4.1 @@ -1,6 +1,6 @@ /* - * $Id: peer_digest.cc,v 1.11 2005/01/04 03:13:39 squidadm Exp $ + * $Id: peer_digest.cc,v 1.11.4.1 2005/05/22 14:30:16 rmartinez Exp $ * * DEBUG: section 72 Peer Digest Routines * AUTHOR: Alex Rousskov @@ -256,7 +256,11 @@ return; } - debug(72, 3) ("peerDigestCheck: peer %s:%d\n", pd->peer->host, pd->peer->http_port); + debug(72, 3) ("peerDigestCheck: peer %s%s%s:%d\n", + NEEDS_BRACKETS(pd->peer->host)? "[" : null_string, + pd->peer->host, + NEEDS_BRACKETS(pd->peer->host)? "]" : null_string, + pd->peer->http_port); debug(72, 3) ("peerDigestCheck: time: %ld, last received: %ld (%+d)\n", (long int) squid_curtime, (long int) pd->times.received, (int) (squid_curtime - pd->times.received));