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_helper.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'extensions/libxt_helper.c') diff --git a/extensions/libxt_helper.c b/extensions/libxt_helper.c index 31ae4fc..ba0b996 100644 --- a/extensions/libxt_helper.c +++ b/extensions/libxt_helper.c @@ -12,10 +12,8 @@ static void helper_help(void) { printf( -"helper match v%s options:\n" -"[!] --helper string Match helper identified by string\n" -"\n", -IPTABLES_VERSION); +"helper match options:\n" +"[!] --helper string Match helper identified by string\n"); } static const struct option helper_opts[] = { @@ -79,7 +77,7 @@ static void helper_save(const void *ip, const struct xt_entry_match *match) static struct xtables_match helper_match = { .family = AF_INET, .name = "helper", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_helper_info)), .help = helper_help, .parse = helper_parse, @@ -92,7 +90,7 @@ static struct xtables_match helper_match = { static struct xtables_match helper_match6 = { .family = AF_INET6, .name = "helper", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_helper_info)), .help = helper_help, .parse = helper_parse, -- cgit v1.2.3