diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-01-03 11:51:09 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-01-03 11:51:09 +0000 |
commit | d101875ddccff8712266e64ada956b3f22fd1504 (patch) | |
tree | 506b84757310ac76bb8a824e03dd78471d630837 /lib/libc/net/resolver.3 | |
parent | aa0e773bf0c0f3ed1c1d845871dd24874cc9650d (diff) |
always enable IPv6 address in /etc/hosts (via _gethtent()).
clarify RES_USE_INET6. the use of this bit is not meaningful
on openbsd (as we don't have mapped addr support in kernel).
Diffstat (limited to 'lib/libc/net/resolver.3')
-rw-r--r-- | lib/libc/net/resolver.3 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/net/resolver.3 b/lib/libc/net/resolver.3 index 27d393193d3..9b2471d823f 100644 --- a/lib/libc/net/resolver.3 +++ b/lib/libc/net/resolver.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: resolver.3,v 1.12 1999/07/05 04:41:00 aaron Exp $ +.\" $OpenBSD: resolver.3,v 1.13 2000/01/03 11:51:08 itojun Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -171,7 +171,11 @@ This is used by the standard host lookup routine .Xr gethostbyname 3 . This option is enabled by default. .It Dv RES_USE_INET6 -Enable support for IPv6 addresses. +Enables support for IPv6-only applications. +This causes IPv4 addresses to be returned as an IPv4 mapped address. +For example, 10.1.1.1 will be returned as ::ffff:10.1.1.1. +The option is not meaningful on +.Ox . .El .Pp The |