Re: cvs commit: src/usr.sbin/natd natd.c

[ Available lists | Index of cvs-usrsbin | Month of Dec 1997 | Week of 6 Dec 1997 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Eivind Eklund <perhaps@yes.no>
Date
6 Dec 1997 09:50:42
Subject
Re: cvs commit: src/usr.sbin/natd natd.c
Message-ID
867m9i4b0d.fsf@bitbox.follo.net

References to

[ Hide this part ]
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.


Elapsed time: 0.091 seconds