On Thu, 11 Mar 2010, Gary V. Vaughan wrote: > Many of our supported platforms do not have this declaration, for > example solaris2.6 thru 2.7. Lack of ss_family implies no IPV6 > support, so we can wrap all the ss_family references in an ifndef > NO_IPV6, and assume sockaddr_in otherwise. While this probably is ok as such, you can actually do the same without accessing the sockaddr_storage->ss_family; just cast it to (const struct sockaddr*) and use ->sa_family instead, that should work just as well, as far as I know. // Martin -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html