]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libxt_connlimit: reword help text to say prefix length
authorJan Engelhardt <jengelh@medozas.de>
Tue, 18 Jan 2011 16:17:00 +0000 (17:17 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Tue, 18 Jan 2011 16:17:00 +0000 (17:17 +0100)
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_connlimit.c
extensions/libxt_connlimit.man

index 85c0ca852d3c18bf43b7c1075b1a45d01687378f..693adbf0b9493bb3e5da20b66ed8d3adacefe0e8 100644 (file)
@@ -15,7 +15,7 @@ static void connlimit_help(void)
 "connlimit match options:\n"
 "[!] --connlimit-above n        match if the number of existing "
 "                               connections is (not) above n\n"
-"    --connlimit-mask n         group hosts using mask\n");
+"    --connlimit-mask n         group hosts using prefix length (default: max len)\n");
 }
 
 static const struct option connlimit_opts[] = {
index c0246fdcb465901e778ae32cbdd63c3a4bf54a2a..f8f9c7b886e9dc9893d23a6ad7ca01850c429e25 100644 (file)
@@ -6,7 +6,8 @@ Match if the number of existing connections is (not) above \fIn\fP.
 .TP
 \fB\-\-connlimit\-mask\fP \fIprefix_length\fP
 Group hosts using the prefix length. For IPv4, this must be a number between
-(including) 0 and 32. For IPv6, between 0 and 128.
+(including) 0 and 32. For IPv6, between 0 and 128. If not specified, the
+maximum prefix length for the applicable protocol is used.
 .P
 Examples:
 .TP