Re: [Squid-cvs] squid3-ipv6 squid3/src icp_v2.cc,1.17.8.3,1.17.8.4

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 21 May 2005 00:25:13 +0200 (CEST)

On Fri, 20 May 2005, Rafael Martinez Torres wrote:

> Update of /cvsroot/squid/squid3/src
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15889
>
> Modified Files:
> Tag: squid3-ipv6
> icp_v2.cc
> Log Message:
> Fixed shostid format. I suppose ICP v6 will agree that. Module ready unless error
>
> Index: icp_v2.cc
> ===================================================================
> RCS file: /cvsroot/squid/squid3/src/icp_v2.cc,v
> retrieving revision 1.17.8.3
> retrieving revision 1.17.8.4

> -// Rafa headerp->shostid = theOutICPAddr.s_addr;
> + headerp->shostid = theOutICPAddr;

Remember that you must not change the type of headerp->shostid.

For IPv6 is should proboby be left blank, which is OK even in the IPv4
case (redundant unused field). See RFC2186 for details on the ICP message
format.

Regards
Henrik
Received on Fri May 20 2005 - 16:25:31 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 31 2005 - 12:00:03 MDT