summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Bruce <ian_bruce@fastmail.net>2009-06-06 06:04:24 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-06-08 23:39:24 +0200
commitae737f0070c9aaccb722ba342b12043fb124d9e2 (patch)
tree4a4433b189f4eb454625fb93665a0ff2ec91d2b6
parent156f58692bbe9e509b32670f93582bead785c926 (diff)
libxt_tcp: manpage corrections and suggestions
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>
-rw-r--r--extensions/libxt_tcp.man4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_tcp.man b/extensions/libxt_tcp.man
index 0a99cdf7..7a16118b 100644
--- a/extensions/libxt_tcp.man
+++ b/extensions/libxt_tcp.man
@@ -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.