Date: Sat, 6 Dec 1997 04:00:37 -0800 (PST) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/natd natd.c Message-ID: <199712061200.EAA01390@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Revision Changes Path
1.6 +1 -1 src/usr.sbin/natd/natd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712061200.EAA01390>
