Date: Thu, 4 Dec 1997 12:00:13 +0200 (EET) From: Ari Suutari <ari@suutari.iki.fi> To: Eivind Eklund <perhaps@yes.no> Cc: John Kelly <jak@cetlink.net>, jkh@time.cdrom.com, current@FreeBSD.ORG Subject: Re: 3.0 -release ? Message-ID: <Pine.BSF.3.96.971204115814.335A-100000@kn6-045.ktvlpr.inet.fi> In-Reply-To: <199712031803.TAA22704@bitbox.follo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Dec 1997, Eivind Eklund wrote: > > Problem both places, methinks. See if the following fixes it (from > aage@aage.priv.no): > > --- /tmp/natd.c Tue Dec 2 22:24:53 1997 > +++ /usr/src/usr.sbin/natd/natd.c Wed Oct 29 22:11:32 1997 > @@ -1332,7 +1332,7 @@ > > port = strtol (str, &end, 10); > if (end != str) > - return htonl (port); > + return htons (port); > > sp = getservbyname (str, proto); > if (!sp) > > If it does, I'll commit it - it looks correct, and I've got one other > favourable report :-) > > Eivind. > Hi, After making this change, it no longer worked on 2.2, I guess that it won't work on 3.0 either (I didn't have time to check it any futher, I just tried it). Ari <ari@suutari.iki.fi> Lappeenranta, Finland
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971204115814.335A-100000>