mirror of https://github.com/mkerrisk/man-pages
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:
parent
a74fcea680
commit
712b0341f5
|
@ -38,7 +38,7 @@
|
||||||
.\" FIXME . glibc's 2.9 NEWS file documents DCCP and UDP-lite support
|
.\" FIXME . glibc's 2.9 NEWS file documents DCCP and UDP-lite support
|
||||||
.\" and is SCTP support now also there?
|
.\" 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
|
.SH NAME
|
||||||
getaddrinfo, freeaddrinfo, gai_strerror \- network address and
|
getaddrinfo, freeaddrinfo, gai_strerror \- network address and
|
||||||
service translation
|
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
|
only if the local system has at least one
|
||||||
IPv4 address configured, and IPv6 addresses are only returned
|
IPv4 address configured, and IPv6 addresses are only returned
|
||||||
if the local system has at least one IPv6 address configured.
|
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
|
.PP
|
||||||
If
|
If
|
||||||
.I hint.ai_flags
|
.I hint.ai_flags
|
||||||
|
|
Loading…
Reference in New Issue