From: Phil Sutter Date: Tue, 28 Nov 2023 12:29:17 +0000 (+0100) Subject: man: Do not escape exclamation marks X-Git-Tag: v1.8.11~143 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d8c64911cfd602f57354f36e5ca79bbedd62aa7a;p=thirdparty%2Fiptables.git 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 --- diff --git a/extensions/libip6t_DNPT.man b/extensions/libip6t_DNPT.man index a9c06700..2c4ae61b 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 1185d9c0..8741c648 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