diff options
author | ume <ume@FreeBSD.org> | 2015-12-27 00:37:04 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2015-12-27 00:37:04 +0000 |
commit | 6885269fd53f8f58470f0243c006eac9eedf15b2 (patch) | |
tree | 87b501266067e3a7f423f57c4d4db87c2feac051 /include | |
parent | 1ee182fa5f4a0ca44fe9d5fa12b6aabd54173fe7 (diff) | |
download | FreeBSD-src-6885269fd53f8f58470f0243c006eac9eedf15b2.zip FreeBSD-src-6885269fd53f8f58470f0243c006eac9eedf15b2.tar.gz |
MFC r292514:
addrinfo.ai_family is an address family, not a protocol family.
PR: 162434
Diffstat (limited to 'include')
-rw-r--r-- | include/netdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h index 102567f..a73d2af 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -122,7 +122,7 @@ struct protoent { struct addrinfo { int ai_flags; /* AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST */ - int ai_family; /* PF_xxx */ + int ai_family; /* AF_xxx */ int ai_socktype; /* SOCK_xxx */ int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ socklen_t ai_addrlen; /* length of ai_addr */ |