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_rateest.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'extensions/libxt_rateest.c') diff --git a/extensions/libxt_rateest.c b/extensions/libxt_rateest.c index a335781..ebea437 100644 --- a/extensions/libxt_rateest.c +++ b/extensions/libxt_rateest.c @@ -13,7 +13,7 @@ static struct xt_rateest_match_info *rateest_info; static void rateest_help(void) { printf( -"rateest match v%s options:\n" +"rateest match options:\n" " --rateest1 name Rate estimator name\n" " --rateest2 name Rate estimator name\n" " --rateest-delta Compare difference(s) to given rate(s)\n" @@ -23,9 +23,7 @@ static void rateest_help(void) " --rateest-pps2 [pps] Compare pps\n" " [!] --rateest-lt Match if rate is less than given rate/estimator\n" " [!] --rateest-gt Match if rate is greater than given rate/estimator\n" -" [!] --rateest-eq Match if rate is equal to given rate/estimator\n" -"\n", - IPTABLES_VERSION); +" [!] --rateest-eq Match if rate is equal to given rate/estimator\n"); } enum rateest_options { @@ -429,7 +427,7 @@ rateest_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match rateest_mt_reg = { .family = AF_UNSPEC, .name = "rateest", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_rateest_match_info)), .userspacesize = XT_ALIGN(offsetof(struct xt_rateest_match_info, est1)), .help = rateest_help, -- cgit v1.2.3