[Bug 316] New: ifdefs for systems without IPV6
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Jun 28 15:52:12 EST 2002
http://bugzilla.mindrot.org/show_bug.cgi?id=316
Summary: ifdefs for systems without IPV6
Product: Portable OpenSSH
Version: -current
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: dirk.meyer at dinoex.sub.org
--- sshconnect.c.orig Wed Aug 8 00:29:09 2001
+++ sshconnect.c Wed Oct 3 14:28:15 2001
@@ -577,11 +577,13 @@
sin_addr.s_addr) >> 24) == IN_LOOPBACKNET;
salen = sizeof(struct sockaddr_in);
break;
+#ifdef HAVE_STRUCT_SOCKADDR_IN6
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);
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list