Module Name: src
Committed By: christos
Date: Sun Dec 13 14:54:17 UTC 2015
Modified Files:
src/lib/libc/net: getaddrinfo.3
Log Message:
mention ip6addrctl
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/lib/libc/net/getaddrinfo.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/net/getaddrinfo.3
diff -u src/lib/libc/net/getaddrinfo.3:1.57 src/lib/libc/net/getaddrinfo.3:1.58
--- src/lib/libc/net/getaddrinfo.3:1.57 Fri May 3 17:13:34 2013
+++ src/lib/libc/net/getaddrinfo.3 Sun Dec 13 09:54:17 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: getaddrinfo.3,v 1.57 2013/05/03 21:13:34 wiz Exp $
+.\" $NetBSD: getaddrinfo.3,v 1.58 2015/12/13 14:54:17 christos Exp $
.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $
.\" $OpenBSD: getaddrinfo.3,v 1.35 2004/12/21 03:40:31 jaredy Exp $
.\"
@@ -17,7 +17,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd April 30, 2013
+.Dd December 13, 2015
.Dt GETADDRINFO 3
.Os
.Sh NAME
@@ -251,6 +251,10 @@ structure in the list, the
member points to a filled-in socket address structure of length
.Fa ai_addrlen .
.Pp
+By default IPv6 address entries are ordered before IPv4 ones, but
+the order of the entries in the list can be controlled using
+.Xr ip6addrctl 8 .
+.Pp
This implementation of
.Fn getaddrinfo
allows numeric IPv6 address notation with scope identifier,
@@ -450,6 +454,7 @@ freeaddrinfo(res0);
.Xr resolv.conf 5 ,
.Xr services 5 ,
.Xr hostname 7 ,
+.Xr ip6addrctl 8 ,
.Xr named 8
.Rs
.%A R. Gilligan