getaddrinfo.3: Note that AI_ADDRCONFIG is not affected by loopback addresses

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660479

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Jean-Michel Vourgère 2012-04-29 22:27:30 +12:00 committed by Michael Kerrisk
parent a74fcea680
commit 712b0341f5
1 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,7 @@
.\" FIXME . glibc's 2.9 NEWS file documents DCCP and UDP-lite support
.\" and is SCTP support now also there?
.\"
.TH GETADDRINFO 3 2012-04-14 "GNU" "Linux Programmer's Manual"
.TH GETADDRINFO 3 2012-04-29 "GNU" "Linux Programmer's Manual"
.SH NAME
getaddrinfo, freeaddrinfo, gai_strerror \- network address and
service translation
@ -378,6 +378,8 @@ flag, then IPv4 addresses are returned in the list pointed to by
only if the local system has at least one
IPv4 address configured, and IPv6 addresses are only returned
if the local system has at least one IPv6 address configured.
The loopback address is not considered for this case as valid
as a configured address.
.PP
If
.I hint.ai_flags