From 5cbc48b2d7fe78d13208d12ed5498d5c7f337ed1 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Fri, 1 Jun 2001 14:49:36 +0000 Subject: New port: OpenSSH portable, which has GNU-configure and more. Diffs to OpenSSH-OPenBSD are huge. So this is here a complete diffrent branch, no repro-copy - Did a bit cleanup in the Makefile Submitted by: dwcjr@inethouston.net --- security/openssh-portable/files/patch-sshconnect.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 security/openssh-portable/files/patch-sshconnect.c (limited to 'security/openssh-portable/files/patch-sshconnect.c') diff --git a/security/openssh-portable/files/patch-sshconnect.c b/security/openssh-portable/files/patch-sshconnect.c new file mode 100644 index 000000000000..0d2e317b7147 --- /dev/null +++ b/security/openssh-portable/files/patch-sshconnect.c @@ -0,0 +1,15 @@ +--- sshconnect.c.orig Fri Apr 13 01:34:36 2001 ++++ sshconnect.c Fri Jun 1 08:01:05 2001 +@@ -504,10 +504,12 @@ + local = (ntohl(((struct sockaddr_in *)hostaddr)->sin_addr.s_addr) >> 24) == IN_LOOPBACKNET; + salen = sizeof(struct sockaddr_in); + break; ++#ifdef INET6 + case AF_INET6: + local = IN6_IS_ADDR_LOOPBACK(&(((struct sockaddr_in6 *)hostaddr)->sin6_addr)); + salen = sizeof(struct sockaddr_in6); + break; ++#endif + default: + local = 0; + salen = sizeof(struct sockaddr_storage); -- cgit v1.2.3