sin6_len is not an address family. I believe this doesn't

break compatibility with POSIX.1-2001.
This commit is contained in:
ume 2002-07-22 15:13:55 +00:00
parent 7f6828f6c0
commit 881112a66c

View File

@ -147,7 +147,7 @@ struct in6_addr {
#endif
struct sockaddr_in6 {
sa_family_t sin6_len; /* length of this struct */
uint8_t sin6_len; /* length of this struct */
sa_family_t sin6_family; /* AF_INET6 */
in_port_t sin6_port; /* Transport layer port # */
uint32_t sin6_flowinfo; /* IP6 flow information */