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_length.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'extensions/libxt_length.c') diff --git a/extensions/libxt_length.c b/extensions/libxt_length.c index 16e00bd..ec305ae 100644 --- a/extensions/libxt_length.c +++ b/extensions/libxt_length.c @@ -12,11 +12,9 @@ static void length_help(void) { printf( -"length v%s options:\n" +"length match options:\n" "[!] --length length[:length] Match packet length against value or range\n" -" of values (inclusive)\n", -IPTABLES_VERSION); - +" of values (inclusive)\n"); } static const struct option length_opts[] = { @@ -127,7 +125,7 @@ static void length_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match length_match = { .family = AF_UNSPEC, .name = "length", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_length_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_length_info)), .help = length_help, -- cgit v1.2.3