diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-01-18 17:17:00 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-01-18 17:17:00 +0100 |
commit | 8d5e773508b154dcfa8d866f68f64ef1ad773957 (patch) | |
tree | 326a19c8e2aa5bc7473a1d74946f675111d778f3 /extensions | |
parent | 9c60365e043a430f74115bbfaf58ce0df7585f49 (diff) |
libxt_connlimit: reword help text to say prefix length
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libxt_connlimit.c | 2 | ||||
-rw-r--r-- | 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 |