Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, not sin_port and sin_family

This commit is contained in:
Gregory Nutt
2015-01-20 18:14:09 -06:00
parent 0aa1fdf021
commit 5d31687e75
7 changed files with 25 additions and 25 deletions

View File

@@ -143,8 +143,8 @@ struct in6_addr
struct sockaddr_in6
{
sa_family_t sin_family; /* Address family: AF_INET */
uint16_t sin_port; /* Port in network byte order */
sa_family_t sin6_family; /* Address family: AF_INET */
uint16_t sin6_port; /* Port in network byte order */
struct in6_addr sin6_addr; /* IPv6 internet address */
};