45 lines
1.9 KiB
Diff
45 lines
1.9 KiB
Diff
|
From 1c9549af3566e6c0b5573d6f91b25934d8d99f79 Mon Sep 17 00:00:00 2001
|
||
|
From: Phil Sutter <phil@nwl.cc>
|
||
|
Date: Tue, 28 Nov 2023 13:29:17 +0100
|
||
|
Subject: [PATCH] man: Do not escape exclamation marks
|
||
|
|
||
|
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>
|
||
|
(cherry picked from commit d8c64911cfd602f57354f36e5ca79bbedd62aa7a)
|
||
|
---
|
||
|
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 9b060f5b7179b..72c6ae5d422a2 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 97e0071b43cc1..0c926978377a7 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
|