summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authorjoel <joel@FreeBSD.org>2012-03-26 21:22:53 +0000
committerjoel <joel@FreeBSD.org>2012-03-26 21:22:53 +0000
commit906214101c2afe043c4e6b86c05dad9039220a42 (patch)
treedac7f857a786f780fb4965b48ce752c840759c6e /lib/libc/net
parent49e07e95592f6b458f4a4182401cb8317175e365 (diff)
downloadFreeBSD-src-906214101c2afe043c4e6b86c05dad9039220a42.zip
FreeBSD-src-906214101c2afe043c4e6b86c05dad9039220a42.tar.gz
mdoc: correct .Bd/.Bl arguments.
Reviewed by: brueffer
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/getipnodebyname.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/net/getipnodebyname.3 b/lib/libc/net/getipnodebyname.3
index 615c5bb..0697c64 100644
--- a/lib/libc/net/getipnodebyname.3
+++ b/lib/libc/net/getipnodebyname.3
@@ -108,13 +108,13 @@ We note that a special flags value of
(defined below)
should handle most applications.
That is, porting simple applications to use IPv6 replaces the call
-.Bd -literal -offset
- hptr = gethostbyname(name);
+.Bd -literal -offset indent
+hptr = gethostbyname(name);
.Ed
.Pp
with
-.Bd -literal -offset
- hptr = getipnodebyname(name, AF_INET6, AI_DEFAULT, &error_num);
+.Bd -literal -offset indent
+hptr = getipnodebyname(name, AF_INET6, AI_DEFAULT, &error_num);
.Ed
.Pp
Applications desiring finer control over the types of addresses
@@ -270,8 +270,8 @@ records are returned as IPv4-mapped IPv6 addresses;
The special flags value of
.Dv AI_DEFAULT
is defined as
-.Bd -literal -offset
- #define AI_DEFAULT (AI_V4MAPPED_CFG | AI_ADDRCONFIG)
+.Bd -literal -offset indent
+#define AI_DEFAULT (AI_V4MAPPED_CFG | AI_ADDRCONFIG)
.Ed
.Pp
We noted that the
OpenPOWER on IntegriCloud