aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2015-12-20 15:18:50 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2015-12-20 15:18:50 +0000
commitb1f9559ae4081f3a34fe7af3afa5a7469ebfe0fd (patch)
tree99b412052718be3e4bd19d8e3f23eb6ae3ef6855 /include
parent11022e84d89a0eaece6bfa81707523bc84cc914a (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 */