summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-03-09 16:22:37 +0000
committerru <ru@FreeBSD.org>2001-03-09 16:22:37 +0000
commit5f61f8e47fe91c807dbc013e22e954c3cbc46586 (patch)
treeddfec059fa3ceed9e728d42f645eaee7725f2815
parent0d4935c84eec044964c24cc0478433100df12b01 (diff)
downloadFreeBSD-src-5f61f8e47fe91c807dbc013e22e954c3cbc46586.zip
FreeBSD-src-5f61f8e47fe91c807dbc013e22e954c3cbc46586.tar.gz
mdoc(7) police: in mdocNG, -offset and -width values without scaling
indicator are treated as strings, so "-offset 0" will set the offset to the width of the string "0", as opposed to "no offset". TIP: if offset is not needed, the -offset clause may be omitted.
-rw-r--r--share/man/man4/ng_bridge.44
-rw-r--r--share/man/man4/ng_mppc.42
-rw-r--r--share/man/man4/ng_one2many.46
-rw-r--r--share/man/man4/ng_ppp.42
-rw-r--r--share/man/man4/ng_pptpgre.42
5 files changed, 8 insertions, 8 deletions
diff --git a/share/man/man4/ng_bridge.4 b/share/man/man4/ng_bridge.4
index 898ade6..1944cc9 100644
--- a/share/man/man4/ng_bridge.4
+++ b/share/man/man4/ng_bridge.4
@@ -103,7 +103,7 @@ Set the node configuration.
This command takes a
.Dv "struct ng_bridge_config"
as an argument:
-.Bd -literal -offset 0
+.Bd -literal -offset 0n
/* Node configuration structure */
struct ng_bridge_config {
u_char ipfw[NG_BRIDGE_MAX_LINKS]; /* enable ipfw */
@@ -152,7 +152,7 @@ returns a
.Dv "struct ng_bridge_link_stats"
containing statistics for the corresponding link, which must be
currently connected:
-.Bd -literal -offset 0
+.Bd -literal -offset 0n
/* Statistics structure (one for each link) */
struct ng_bridge_link_stats {
u_int64_t recvOctets; /* total octets rec'd on link */
diff --git a/share/man/man4/ng_mppc.4 b/share/man/man4/ng_mppc.4
index c7ac6d9..c6f8eaf 100644
--- a/share/man/man4/ng_mppc.4
+++ b/share/man/man4/ng_mppc.4
@@ -90,7 +90,7 @@ outgoing traffic direction (i.e., for compression and/or encryption).
This command takes a
.Dv "struct ng_mppc_config"
as an argument:
-.Bd -literal -offset 0
+.Bd -literal -offset 0n
/* Length of MPPE key */
#define MPPE_KEY_LEN 16
diff --git a/share/man/man4/ng_one2many.4 b/share/man/man4/ng_one2many.4
index afdca69..b8b3207 100644
--- a/share/man/man4/ng_one2many.4
+++ b/share/man/man4/ng_one2many.4
@@ -114,7 +114,7 @@ following:
Sets the node configuration using a
.Dv "struct ng_one2many_link_config"
as the control message argument:
-.Bd -literal -offset 0
+.Bd -literal -offset 0n
/* Node configuration structure */
struct ng_one2many_config {
u_int32_t xmitAlg; /* how to distribute packets */
@@ -143,7 +143,7 @@ returns a
containing statistics for the corresponding
.Dv many
link, which may or may not be currently connected:
-.Bd -literal -offset 0
+.Bd -literal -offset 0n
/* Statistics structure (one for each link) */
struct ng_one2many_link_stats {
u_int64_t recvOctets; /* total octets rec'd on link */
@@ -177,7 +177,7 @@ corresponding to networking interfaces
.Dv fxp0
through
.Dv fxp3 :
-.Bd -literal -offset 0
+.Bd -literal -offset 0n
# Plumb nodes together
ngctl mkpeer fxp0: one2many upper one
ngctl connect fxp0: fxp0:upper lower many0
diff --git a/share/man/man4/ng_ppp.4 b/share/man/man4/ng_ppp.4
index 8125e48..7460e33 100644
--- a/share/man/man4/ng_ppp.4
+++ b/share/man/man4/ng_ppp.4
@@ -292,7 +292,7 @@ is active until the corresponding hook is also connected.
This command takes a
.Dv "struct ng_ppp_node_config"
as an argument:
-.Bd -literal -offset 0
+.Bd -literal -offset 0n
/* Per-link config structure */
struct ng_ppp_link_config {
u_char enableLink; /* enable this link */
diff --git a/share/man/man4/ng_pptpgre.4 b/share/man/man4/ng_pptpgre.4
index 00d03dc..b2b5cb5 100644
--- a/share/man/man4/ng_pptpgre.4
+++ b/share/man/man4/ng_pptpgre.4
@@ -85,7 +85,7 @@ This command resets and configures the node for a session.
This command takes a
.Dv "struct ng_pptpgre_conf"
as an argument:
-.Bd -literal -offset 0
+.Bd -literal -offset 0n
/* Configuration for a session */
struct ng_pptpgre_conf {
u_char enabled; /* enables traffic flow */
OpenPOWER on IntegriCloud