ANNOUNCE: openssh-1.2.1pre18

Damien Miller djm at mindrot.org
Fri Dec 17 01:01:54 EST 1999


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 16 Dec 1999, Marc G. Fournier wrote:

> 
> Solaris 7/x86:
> 
> canohost.c:163: `AF_INET6' undeclared (first use in this function)

Could you try the attached patch.

The IPv6 support in the OpenBSD tree must be landing sooner than
I expected.

Damien

- --
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4WPDWormJ9RG1dI8RAusbAJ4gFv2WOyCRv4mPsZiAGOtfeE6GfgCffLhV
6OxEsXItr9gc4tRLdWFuBW8=
=JRev
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: canohost.c
===================================================================
RCS file: /var/cvs/openssh/canohost.c,v
retrieving revision 1.5
diff -u -r1.5 canohost.c
--- canohost.c	1999/12/13 23:47:15	1.5
+++ canohost.c	1999/12/16 14:01:37
@@ -160,8 +160,9 @@
 	memset(&from, 0, sizeof(from));
 	if (getpeername(in, (struct sockaddr *) & from, &fromlen) < 0)
 		return 0;
-	if (from.sin_family != AF_INET && from.sin_family != AF_INET6)
+	if (from.sin_family != AF_INET)
 		return 0;
+
 	return 1;
 }
 


More information about the openssh-unix-dev mailing list