netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iptables PATCH] man: Do not escape exclamation marks
@ 2023-11-28 12:32 Phil Sutter
  2023-11-29  1:21 ` Phil Sutter
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Sutter @ 2023-11-28 12:32 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Jan Engelhardt

This appears to be not necessary, also mandoc complains about it:

| mandoc: iptables/iptables-extensions.8:2170:52: UNSUPP: unsupported escape sequence: \!

Fixes: 71eddedcbf7ae ("libip6t_DNPT: add manpage")
Fixes: 0a4c357cb91e1 ("libip6t_SNPT: add manpage")
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 extensions/libip6t_DNPT.man | 2 +-
 extensions/libip6t_SNPT.man | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/libip6t_DNPT.man b/extensions/libip6t_DNPT.man
index a9c06700a7dcd..2c4ae61b249c0 100644
--- a/extensions/libip6t_DNPT.man
+++ b/extensions/libip6t_DNPT.man
@@ -15,7 +15,7 @@ Set destination prefix that you want to use in the translation and length
 .PP
 You have to use the SNPT target to undo the translation. Example:
 .IP
-ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 \! \-o vboxnet0
+ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 ! \-o vboxnet0
 \-j SNPT \-\-src-pfx fd00::/64 \-\-dst-pfx 2001:e20:2000:40f::/64
 .IP
 ip6tables \-t mangle \-I PREROUTING \-i wlan0 \-d 2001:e20:2000:40f::/64
diff --git a/extensions/libip6t_SNPT.man b/extensions/libip6t_SNPT.man
index 1185d9c01ce8a..8741c648d5986 100644
--- a/extensions/libip6t_SNPT.man
+++ b/extensions/libip6t_SNPT.man
@@ -15,7 +15,7 @@ Set destination prefix that you want to use in the translation and length
 .PP
 You have to use the DNPT target to undo the translation. Example:
 .IP
-ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 \! \-o vboxnet0
+ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 ! \-o vboxnet0
 \-j SNPT \-\-src-pfx fd00::/64 \-\-dst-pfx 2001:e20:2000:40f::/64
 .IP
 ip6tables \-t mangle \-I PREROUTING \-i wlan0 \-d 2001:e20:2000:40f::/64
-- 
2.41.0


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

* Re: [iptables PATCH] man: Do not escape exclamation marks
  2023-11-28 12:32 [iptables PATCH] man: Do not escape exclamation marks Phil Sutter
@ 2023-11-29  1:21 ` Phil Sutter
  0 siblings, 0 replies; 2+ messages in thread
From: Phil Sutter @ 2023-11-29  1:21 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Jan Engelhardt

On Tue, Nov 28, 2023 at 01:32:43PM +0100, Phil Sutter wrote:
> This appears to be not necessary, also mandoc complains about it:
> 
> | mandoc: iptables/iptables-extensions.8:2170:52: UNSUPP: unsupported escape sequence: \!
> 
> Fixes: 71eddedcbf7ae ("libip6t_DNPT: add manpage")
> Fixes: 0a4c357cb91e1 ("libip6t_SNPT: add manpage")
> Signed-off-by: Phil Sutter <phil@nwl.cc>

Patch applied.

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

end of thread, other threads:[~2023-11-29  1:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-28 12:32 [iptables PATCH] man: Do not escape exclamation marks Phil Sutter
2023-11-29  1:21 ` Phil Sutter

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).