summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2015-12-27 00:37:04 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2015-12-27 00:37:04 +0000
commit1fa294028aadae7d8580873cc2a7269441c82ce2 (patch)
tree87b501266067e3a7f423f57c4d4db87c2feac051 /include
parent29e9b915fdeb3a044a067594854cc6ed6c7c7b83 (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 102567f6c995..a73d2afadb45 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 */