From: Ian Bruce Date: Sat, 6 Jun 2009 04:04:24 +0000 (+0200) Subject: libxt_tcp: manpage corrections and suggestions X-Git-Tag: v1.4.4~1^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae737f0070c9aaccb722ba342b12043fb124d9e2;p=thirdparty%2Fiptables.git libxt_tcp: manpage corrections and suggestions From: Ian Bruce 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 --- 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.