bugzilla-daemon at mindrot.org
2002-Oct-21 05:33 UTC
[Bug 418] New: Allow to build on systems without IPV6
http://bugzilla.mindrot.org/show_bug.cgi?id=418 Summary: Allow to build on systems without IPV6 Product: Portable OpenSSH Version: -current Platform: All OS/Version: FreeBSD Status: NEW Severity: minor Priority: P2 Component: Miscellaneous AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: dirk.meyer at dinoex.sub.org openssh 3.5p1: AF_INET6 is not included on FreeBSD 2.2.8 so skip it when not detected: --- 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.