From b0f1b90bd7f158207ccc04c5498bd3a274307d3f Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 9 Mar 2002 12:51:44 +0000 Subject: Allow IPv6 connection if detected by configure. Submitted by: ume --- security/openssh-portable/Makefile | 1 + security/openssh-portable/files/patch-sshconnect.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'security/openssh-portable') diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile index 173638fea7cb..940730c77a44 100644 --- a/security/openssh-portable/Makefile +++ b/security/openssh-portable/Makefile @@ -7,6 +7,7 @@ PORTNAME= openssh PORTVERSION= 3.1p1 +PORTREVISION= 1 CATEGORIES= security ipv6 MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \ ftp://ftp.op.net/pub/OpenBSD/OpenSSH/portable/ \ diff --git a/security/openssh-portable/files/patch-sshconnect.c b/security/openssh-portable/files/patch-sshconnect.c index ba0aa01906a8..72f75354bd24 100644 --- a/security/openssh-portable/files/patch-sshconnect.c +++ b/security/openssh-portable/files/patch-sshconnect.c @@ -4,7 +4,7 @@ sin_addr.s_addr) >> 24) == IN_LOOPBACKNET; salen = sizeof(struct sockaddr_in); break; -+#ifdef INET6 ++#ifdef HAVE_STRUCT_SOCKADDR_IN6 case AF_INET6: local = IN6_IS_ADDR_LOOPBACK( &(((struct sockaddr_in6 *)hostaddr)->sin6_addr)); -- cgit v1.2.3