From 6cd49745931f42cfe2280bf78e483035c3c5e2e6 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Tue, 15 Apr 2008 12:01:06 +0000 Subject: [PATCH 08/10] 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 9e2137a..3474ce5 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