Skip site navigation (1)Skip section navigation (2)
Date:      06 Dec 1997 18:49:54 +0100
From:      Eivind Eklund <perhaps@yes.no>
To:        Brian Somers <brian@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/natd natd.c
Message-ID:  <867m9i4b0d.fsf@bitbox.follo.net>
In-Reply-To: Brian Somers's message of Sat, 6 Dec 1997 04:00:37 -0800 (PST)
References:  <199712061200.EAA01390@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867m9i4b0d.fsf>