Skip to contentSkip to conversation

doc: fix quoted string in libxt_DNETMAP man-page.

PATCH In review Jeremy Sowden 2 participants 2 messages Jul 21, 2020 – Jul 28, 2020 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 doc: fix quoted string in libxt_DNETMAP man-page.

In roff, lines beginning with a single quote are control lines. In the libxt_DNETMAP man-page there is a single-quoted string at the beginning of a line, which troff tries and fails to interpret as a macro:

troff: <standard input>:49: warning: macro 'S'' not defined

This means that the line is not output.

Replace the single quotes with the appropriate escape-sequences.

Fixes 2b38d081a50b ("doc: spelling and grammar corrections to DNETMAP")
---
 extensions/libxt_DNETMAP.man | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
extensions/libxt_DNETMAP.man +1 -1
index 7a8fe404435b..a59b6551fcbe 100644
@@ -46,7 +46,7 @@ Contains the binding table for the given \fIsubnet/mask\fP. Each line contains
 \fBprenat address\fR, \fBpostnat address\fR, \fBttl\fR (seconds until the entry
 times out), \fBlasthit\fR (last hit to the entry in seconds relative to system
 boot time). Please note that the \fBttl\fR and \fBlasthit\fR entries contain an
-'\fBS\fR' in case of a static binding.
+\(oq\fBS\fR\(cq in case of a static binding.
 .TP
 \fB/proc/net/xt_DNETMAP/\fR\fIsubnet\fR\fB_\fR\fImask\fR\fB_stat\fR
 Contains statistics for a given \fIsubnet/mask\fP. The line contains four
Signature · 1 line
2.27.0
#1 lore raw
Quoted 1 line · Jeremy Sowden

In roff, lines beginning with a single quote are control lines.[..]

Added.