From ae737f0070c9aaccb722ba342b12043fb124d9e2 Mon Sep 17 00:00:00 2001 From: Ian Bruce Date: Sat, 6 Jun 2009 06:04:24 +0200 Subject: 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 --- extensions/libxt_tcp.man | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') 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. -- cgit v1.2.3