diff options
author | ume <ume@FreeBSD.org> | 2015-12-20 15:18:50 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2015-12-20 15:18:50 +0000 |
commit | 33741c0d9ada9a85f36241592179ac7ca0b53436 (patch) | |
tree | 99b412052718be3e4bd19d8e3f23eb6ae3ef6855 /include | |
parent | 1e23428c2e6763bb7094f632ed24f87120a89475 (diff) | |
download | FreeBSD-src-33741c0d9ada9a85f36241592179ac7ca0b53436.zip FreeBSD-src-33741c0d9ada9a85f36241592179ac7ca0b53436.tar.gz |
addrinfo.ai_family is an address family, not a protocol family.
PR: 162434
MFC after: 1 week
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 */ |