From 8d5e773508b154dcfa8d866f68f64ef1ad773957 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 18 Jan 2011 17:17:00 +0100 Subject: libxt_connlimit: reword help text to say prefix length Signed-off-by: Jan Engelhardt --- extensions/libxt_connlimit.c | 2 +- extensions/libxt_connlimit.man | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions/libxt_connlimit.c b/extensions/libxt_connlimit.c index 85c0ca85..693adbf0 100644 --- a/extensions/libxt_connlimit.c +++ b/extensions/libxt_connlimit.c @@ -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[] = { diff --git a/extensions/libxt_connlimit.man b/extensions/libxt_connlimit.man index c0246fdc..f8f9c7b8 100644 --- a/extensions/libxt_connlimit.man +++ b/extensions/libxt_connlimit.man @@ -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 -- cgit v1.2.3