summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libc/net/gethostbyname.33
-rw-r--r--src/lib/libc/net/resolver.36
2 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libc/net/gethostbyname.3 b/src/lib/libc/net/gethostbyname.3
index f8c4891c68..482e3b4a9c 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.28 2015/12/16 16:32:30 deraadt Exp $ 1.\" $OpenBSD: gethostbyname.3,v 1.29 2015/12/16 18:12:42 jmc 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.
@@ -171,6 +171,7 @@ The contents of the error message is the same as that returned by
171with argument 171with argument
172.Fa h_errno . 172.Fa h_errno .
173.Sh ENVIRONMENT 173.Sh ENVIRONMENT
174.Bl -tag -width RES_OPTIONS
174.It RES_OPTIONS 175.It RES_OPTIONS
175A list of options to override the resolver's internal defaults. 176A list of options to override the resolver's internal defaults.
176See 177See
diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3
index db7400df9b..74be255189 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.32 2015/12/16 16:32:30 deraadt Exp $ 1.\" $OpenBSD: resolver.3,v 1.33 2015/12/16 18:12:42 jmc 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.
@@ -171,9 +171,9 @@ to be equal to the server's address.
171Do not check if the query section of the reply packet 171Do not check if the query section of the reply packet
172is equal to that of the query packet. 172is equal to that of the query packet.
173.It Dv RES_NOALIASES 173.It Dv RES_NOALIASES
174(In the past, this turned off the legacy 174In the past, this turned off the legacy
175.Ev HOSTALIASES 175.Ev HOSTALIASES
176feature). 176feature.
177.It Dv RES_USE_INET6 177.It Dv RES_USE_INET6
178Enables support for IPv6-only applications. 178Enables support for IPv6-only applications.
179This causes IPv4 addresses to be returned as an IPv4 mapped address. 179This causes IPv4 addresses to be returned as an IPv4 mapped address.