Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 1997 19:03:34 +0100 (MET)
From:      Eivind Eklund <perhaps@yes.no>
To:        jak@cetlink.net (John Kelly)
Cc:        jkh@time.cdrom.com, current@FreeBSD.ORG
Subject:   Re: 3.0 -release ? 
Message-ID:  <199712031803.TAA22704@bitbox.follo.net>
In-Reply-To: jak@cetlink.net's message of Wed, 03 Dec 1997 04:10:26 GMT
References:  <1254.881054658@time.cdrom.com> <3485dac6.74174125@mail.cetlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On Tue, 02 Dec 1997 01:24:18 -0800, "Jordan K. Hubbard"
> <jkh@time.cdrom.com> wrote:
> 
> >> Any guesses as to when is 3.0 -release is going
> 
> >Sometime in the spring of 1998.  And that's as specific as I'm
> >going to get. :)
> 
> What's the hurry?  NATD falls over on my 3.0, pretty current.  I
> haven't had a chance yet to compare 2.2-stable.

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.



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