From 8b7c64d6ba156a99008fcd810cba874c73294333 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 15 Apr 2008 11:48:25 +0200 Subject: Remove old functions, constants --- extensions/libxt_connlimit.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'extensions/libxt_connlimit.c') diff --git a/extensions/libxt_connlimit.c b/extensions/libxt_connlimit.c index 9e2137ac..3474ce5f 100644 --- a/extensions/libxt_connlimit.c +++ b/extensions/libxt_connlimit.c @@ -11,11 +11,10 @@ static void connlimit_help(void) { printf( -"connlimit v%s options:\n" +"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" -"\n", IPTABLES_VERSION); +" --connlimit-mask n group hosts using mask\n"); } static const struct option connlimit_opts[] = { @@ -181,7 +180,7 @@ static void connlimit_save6(const void *ip, const struct xt_entry_match *match) static struct xtables_match connlimit_match = { .name = "connlimit", .family = AF_INET, - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_connlimit_info)), .userspacesize = offsetof(struct xt_connlimit_info, data), .help = connlimit_help, @@ -196,7 +195,7 @@ static struct xtables_match connlimit_match = { static struct xtables_match connlimit_match6 = { .name = "connlimit", .family = AF_INET6, - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_connlimit_info)), .userspacesize = offsetof(struct xt_connlimit_info, data), .help = connlimit_help, -- cgit v1.2.3