]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_tcp: manpage corrections and suggestions
authorIan Bruce <ian_bruce@fastmail.net>
Sat, 6 Jun 2009 04:04:24 +0000 (06:04 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 8 Jun 2009 21:39:24 +0000 (23:39 +0200)
From: Ian Bruce <ian_bruce@fastmail.net>

The commit corrects some minor errors in the iptables(8) man page,
related to port ranges in the "tcp" module.

Reference: http://bugs.debian.org/531677
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_tcp.man

index 0a99cdf7f2dcf5093f246d921c7294a20732b284..7a16118bbc53a33603caf8256fbe06a72d591869 100644 (file)
@@ -4,10 +4,10 @@ provides the following options:
 [\fB!\fP] \fB\-\-source\-port\fP,\fB\-\-sport\fP \fIport\fP[\fB:\fP\fIport\fP]
 Source port or port range specification. This can either be a service
 name or a port number. An inclusive range can also be specified,
-using the format \fIport\fP\fB:\fP\fIport\fP.
+using the format \fIfirst\fP\fB:\fP\fIlast\fP.
 If the first port is omitted, "0" is assumed; if the last is omitted,
 "65535" is assumed.
-If the second port is greater than the first they will be swapped.
+If the first port is greater than the second one they will be swapped.
 The flag
 \fB\-\-sport\fP
 is a convenient alias for this option.