summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_statistic.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2008-04-15 12:01:06 +0000
committer/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2008-04-15 12:01:06 +0000
commit6cd49745931f42cfe2280bf78e483035c3c5e2e6 (patch)
tree47489e2ac7ae083087ec7f0675f1c2e5fc2b4d7a /extensions/libxt_statistic.c
parentfbde4d9d1119908b37c9bb95886294fb6e2493e0 (diff)
[PATCH 08/10] Remove old functions, constants
Diffstat (limited to 'extensions/libxt_statistic.c')
-rw-r--r--extensions/libxt_statistic.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/extensions/libxt_statistic.c b/extensions/libxt_statistic.c
index 2c2464d..114b419 100644
--- a/extensions/libxt_statistic.c
+++ b/extensions/libxt_statistic.c
@@ -11,15 +11,13 @@
static void statistic_help(void)
{
printf(
-"statistic match v%s options:\n"
+"statistic match options:\n"
" --mode mode Match mode (random, nth)\n"
" random mode:\n"
" --probability p Probability\n"
" nth mode:\n"
" --every n Match every nth packet\n"
-" --packet p Initial counter value (0 <= p <= n-1, default 0)\n"
-"\n",
-IPTABLES_VERSION);
+" --packet p Initial counter value (0 <= p <= n-1, default 0)\n");
}
static const struct option statistic_opts[] = {
@@ -166,7 +164,7 @@ static void statistic_save(const void *ip, const struct xt_entry_match *match)
static struct xtables_match statistic_match = {
.family = AF_UNSPEC,
.name = "statistic",
- .version = IPTABLES_VERSION,
+ .version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_statistic_info)),
.userspacesize = offsetof(struct xt_statistic_info, u.nth.count),
.init = statistic_mt_init,