summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-07-22 15:13:55 +0000
committerume <ume@FreeBSD.org>2002-07-22 15:13:55 +0000
commit881112a66cdce7db30df7845ba02b180e6725cd0 (patch)
tree9654a359b75c2e68c847d21ac6c3edeb050772e6 /sys/netinet6
parent7f6828f6c022147dbb094634350974a4bbf8f687 (diff)
downloadFreeBSD-src-881112a66cdce7db30df7845ba02b180e6725cd0.zip
FreeBSD-src-881112a66cdce7db30df7845ba02b180e6725cd0.tar.gz
sin6_len is not an address family. I believe this doesn't
break compatibility with POSIX.1-2001.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6.h b/sys/netinet6/in6.h
index 7ad01d9..ace6873 100644
--- a/sys/netinet6/in6.h
+++ b/sys/netinet6/in6.h
@@ -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 */
OpenPOWER on IntegriCloud