sin6_len is not an address family. I believe this doesn't
break compatibility with POSIX.1-2001.
This commit is contained in:
parent
7f6828f6c0
commit
881112a66c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user