> Date: Mon, 16 Apr 2001 12:10:19 -0700
> From: Kris Kennaway <[EMAIL PROTECTED]>
>
> I can't think of anything off the top of my head, but there was some
> reason why OpenBSD made this change:
>
> - ip_copy->ip_id = htons(ip_randomid());
> + ip_copy->ip_id = ip_randomid();
> + HTONS(ip_copy->ip_id);
>
> Presumably there was some reasoning there. Niels, can you shed any
> light?
Without having the source in front of me, what length of value does
ip_randomid() return?
htons(long) != htons(short)
perhaps?
Eddy
---------------------------------------------------------------------------
Brotsman & Dreger, Inc.
EverQuick Internet / EternalCommerce Division
Phone: (316) 794-8922
---------------------------------------------------------------------------
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message