diff options
author | Jan Engelhardt <jengelh@inai.de> | 2023-10-24 14:58:06 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-10-27 18:00:30 +0200 |
commit | b7d45c140fde9366a34412dbd318dd7c84bbef14 (patch) | |
tree | 45e43ef8d3fb0503d221a90e4f6bdcac17e53071 /extensions/libxt_SNAT.man | |
parent | 458e167e9510f995111d32aa7a30b7c7d2af2e75 (diff) |
man: encode minushyphen the way groff/man requires it
Sparked by a recent LWN article[1], sweeps over the iptables manpages
for incorrectly encoded dashes was made by Phil Sutter and myself.
An ASCII minushyphen in the source manpage translates to a hyphen in
output, so one has to use the sequence "\-" to get a minushyphen in
the output, as groff_char(7) explains.
[1] https://lwn.net/Articles/947941/ (paywalled until about 2023-11-06)
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_SNAT.man')
-rw-r--r-- | extensions/libxt_SNAT.man | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_SNAT.man b/extensions/libxt_SNAT.man index 80a698a6..d879c871 100644 --- a/extensions/libxt_SNAT.man +++ b/extensions/libxt_SNAT.man @@ -23,7 +23,7 @@ will be mapped to ports below 1024, and other ports will be mapped to \fB\-\-random\fP Randomize source port mapping through a hash-based algorithm (kernel >= 2.6.21). .TP -\fB\-\-random-fully\fP +\fB\-\-random\-fully\fP Fully randomize source port mapping through a PRNG (kernel >= 3.14). .TP \fB\-\-persistent\fP |