Hi,
When I was modifying ICP packet on squid, I noticed the field "shostid"
of ICP packet is in wrong byte order with little endian host.
This field should be represented in network byte order.
In icp.c of squid-1.1.20, "shostid" field is converted with
htonl() or ntohl() functions.
It is not necessary to convert it, isn't it ?
Because the address structure "struct in_addr" in the memory is always
represented in network byte order on any host.
In current squid implementaion it is not used, but I am worried...
--- NARA Institute of Science and Technology Department of Information Science h-inoue@is.aist-nara.ac.jpReceived on Mon Feb 09 1998 - 08:52:48 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:49 MST