netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH xtables-addons] doc: fix quoted string in libxt_DNETMAP man-page.
@ 2020-07-21  8:31 Jeremy Sowden
  2020-07-21  9:16 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Sowden @ 2020-07-21  8:31 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Netfilter Devel

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.

Adjust the formatting of the paragraph to move the string from the
beginning of the line.

Fixes: 2b38d081a50b ("doc: spelling and grammar corrections to DNETMAP")
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
---
 extensions/libxt_DNETMAP.man | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/libxt_DNETMAP.man b/extensions/libxt_DNETMAP.man
index 7a8fe404435b..56cd2a68c6e6 100644
--- a/extensions/libxt_DNETMAP.man
+++ b/extensions/libxt_DNETMAP.man
@@ -45,8 +45,8 @@ The module creates the following entries for each new specified subnet:
 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.
+boot time). Please note that the \fBttl\fR and \fBlasthit\fR entries contain
+an '\fBS\fR' 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
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-21 12:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21  8:31 [PATCH xtables-addons] doc: fix quoted string in libxt_DNETMAP man-page Jeremy Sowden
2020-07-21  9:16 ` Jan Engelhardt
2020-07-21 12:48   ` Jeremy Sowden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).