diff options
-rw-r--r-- | src/lib/libc/net/gethostbyname.3 | 10 | ||||
-rw-r--r-- | src/lib/libc/net/resolver.3 | 11 |
2 files changed, 6 insertions, 15 deletions
diff --git a/src/lib/libc/net/gethostbyname.3 b/src/lib/libc/net/gethostbyname.3 index 304f314099..f8c4891c68 100644 --- a/src/lib/libc/net/gethostbyname.3 +++ b/src/lib/libc/net/gethostbyname.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: gethostbyname.3,v 1.27 2014/08/23 07:25:54 jmc Exp $ | 1 | .\" $OpenBSD: gethostbyname.3,v 1.28 2015/12/16 16:32:30 deraadt Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1983, 1987, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1987, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -27,7 +27,7 @@ | |||
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
29 | .\" | 29 | .\" |
30 | .Dd $Mdocdate: August 23 2014 $ | 30 | .Dd $Mdocdate: December 16 2015 $ |
31 | .Dt GETHOSTBYNAME 3 | 31 | .Dt GETHOSTBYNAME 3 |
32 | .Os | 32 | .Os |
33 | .Sh NAME | 33 | .Sh NAME |
@@ -171,12 +171,6 @@ The contents of the error message is the same as that returned by | |||
171 | with argument | 171 | with argument |
172 | .Fa h_errno . | 172 | .Fa h_errno . |
173 | .Sh ENVIRONMENT | 173 | .Sh ENVIRONMENT |
174 | .Bl -tag -width HOSTALIASES | ||
175 | .It HOSTALIASES | ||
176 | A file containing local host aliases. | ||
177 | See | ||
178 | .Xr hostname 7 | ||
179 | for more information. | ||
180 | .It RES_OPTIONS | 174 | .It RES_OPTIONS |
181 | A list of options to override the resolver's internal defaults. | 175 | A list of options to override the resolver's internal defaults. |
182 | See | 176 | See |
diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3 index 7dae1c7e65..db7400df9b 100644 --- a/src/lib/libc/net/resolver.3 +++ b/src/lib/libc/net/resolver.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: resolver.3,v 1.31 2015/11/10 23:48:18 jmc Exp $ | 1 | .\" $OpenBSD: resolver.3,v 1.32 2015/12/16 16:32:30 deraadt Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1985, 1991, 1993 | 3 | .\" Copyright (c) 1985, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -27,7 +27,7 @@ | |||
27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | 28 | .\" SUCH DAMAGE. |
29 | .\" | 29 | .\" |
30 | .Dd $Mdocdate: November 10 2015 $ | 30 | .Dd $Mdocdate: December 16 2015 $ |
31 | .Dt RES_INIT 3 | 31 | .Dt RES_INIT 3 |
32 | .Os | 32 | .Os |
33 | .Sh NAME | 33 | .Sh NAME |
@@ -171,12 +171,9 @@ to be equal to the server's address. | |||
171 | Do not check if the query section of the reply packet | 171 | Do not check if the query section of the reply packet |
172 | is equal to that of the query packet. | 172 | is equal to that of the query packet. |
173 | .It Dv RES_NOALIASES | 173 | .It Dv RES_NOALIASES |
174 | Turn off the | 174 | (In the past, this turned off the legacy |
175 | .Ev HOSTALIASES | 175 | .Ev HOSTALIASES |
176 | feature. | 176 | feature). |
177 | See | ||
178 | .Xr hostname 7 | ||
179 | for more information. | ||
180 | .It Dv RES_USE_INET6 | 177 | .It Dv RES_USE_INET6 |
181 | Enables support for IPv6-only applications. | 178 | Enables support for IPv6-only applications. |
182 | This causes IPv4 addresses to be returned as an IPv4 mapped address. | 179 | This causes IPv4 addresses to be returned as an IPv4 mapped address. |