diff options
author | Mokhtar Naamani <mokhtar.naamani@gmail.com> | 2013-06-29 22:11:03 +0300 |
---|---|---|
committer | Mokhtar Naamani <mokhtar.naamani@gmail.com> | 2013-06-29 22:11:03 +0300 |
commit | d3307c57f64543dd63a690d165269cecf5bd24ed (patch) | |
tree | 6a0bd0a4eb21bb9ef6ebea30256d7e8a759940c8 | |
parent | 489b5d3780c789cc89e2c346dfbe395272643690 (diff) |
align sin6_family of sockaddr_in6 with other socket address structures
-rw-r--r-- | system/include/net/netinet/in.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/include/net/netinet/in.h b/system/include/net/netinet/in.h index f4832d52..cf324f3d 100644 --- a/system/include/net/netinet/in.h +++ b/system/include/net/netinet/in.h @@ -56,8 +56,8 @@ extern const struct in6_addr in6addr_interfacelocal_allrouters; extern const struct in6_addr in6addr_sitelocal_allrouters; struct sockaddr_in6 { - short sin6_family; - short sin6_port; + int sin6_family; + unsigned short sin6_port; int sin6_flowinfo; struct in6_addr sin6_addr; int sin6_scope_id; |