Brian Somers <brian@FreeBSD.ORG> writes:
> brian 1997/12/06 04:00:35 PST
>
> Modified files:
> usr.sbin/natd natd.c
> Log:
> Reverse my previous change and use htons() on an int
> instead of htonl() !
>
> This results in the int a,b,c,d changing to b,a,c,d,
> but as it's subsequently coerced to a u_short, the
> ultimate answer is correct.
>
> If this isn't fixed properly soon (by the author) I'll
> have a look at it again.
>
> Noted by: eivind & ari@suutari.iki.fi
Don't credit the messenger ;-)
This was originally found by Aage Roebekk <aage@aage.priv.no>
as noted in my original message (w/patch).
Eivind.