Netfilter-Devel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH xtables-addons v2] doc: fix quoted string in libxt_DNETMAP man-page.
@ 2020-07-21 13:03 Jeremy Sowden
  2020-07-28  8:03 ` Jan Engelhardt
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Sowden @ 2020-07-21 13:03 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.

Replace the single quotes with the appropriate escape-sequences.

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

diff --git a/extensions/libxt_DNETMAP.man b/extensions/libxt_DNETMAP.man
index 7a8fe404435b..a59b6551fcbe 100644
--- a/extensions/libxt_DNETMAP.man
+++ b/extensions/libxt_DNETMAP.man
@@ -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
-- 
2.27.0


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

* Re: [PATCH xtables-addons v2] doc: fix quoted string in libxt_DNETMAP man-page.
  2020-07-21 13:03 [PATCH xtables-addons v2] doc: fix quoted string in libxt_DNETMAP man-page Jeremy Sowden
@ 2020-07-28  8:03 ` Jan Engelhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2020-07-28  8:03 UTC (permalink / raw)
  To: Jeremy Sowden; +Cc: Netfilter Devel

On Tuesday 2020-07-21 15:03, Jeremy Sowden wrote:

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

Added.

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

end of thread, back to index

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

Netfilter-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/netfilter-devel/0 netfilter-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netfilter-devel netfilter-devel/ https://lore.kernel.org/netfilter-devel \
		netfilter-devel@vger.kernel.org
	public-inbox-index netfilter-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.netfilter-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git