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_MARK.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'extensions/libxt_MARK.c') diff --git a/extensions/libxt_MARK.c b/extensions/libxt_MARK.c index d7d79d5..5b880ce 100644 --- a/extensions/libxt_MARK.c +++ b/extensions/libxt_MARK.c @@ -17,12 +17,10 @@ enum { static void MARK_help(void) { printf( -"MARK target v%s options:\n" +"MARK target options:\n" " --set-mark value Set nfmark value\n" " --and-mark value Binary AND the nfmark with value\n" -" --or-mark value Binary OR the nfmark with value\n" -"\n", -IPTABLES_VERSION); +" --or-mark value Binary OR the nfmark with value\n"); } static const struct option MARK_opts[] = { @@ -287,7 +285,7 @@ static void mark_tg_save(const void *ip, const struct xt_entry_target *target) static struct xtables_target mark_target_v0 = { .family = AF_INET, .name = "MARK", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .revision = 0, .size = XT_ALIGN(sizeof(struct xt_mark_target_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_mark_target_info)), @@ -302,7 +300,7 @@ static struct xtables_target mark_target_v0 = { static struct xtables_target mark_target_v1 = { .family = AF_INET, .name = "MARK", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .revision = 1, .size = XT_ALIGN(sizeof(struct xt_mark_target_info_v1)), .userspacesize = XT_ALIGN(sizeof(struct xt_mark_target_info_v1)), @@ -317,7 +315,7 @@ static struct xtables_target mark_target_v1 = { static struct xtables_target mark_target6_v0 = { .family = AF_INET6, .name = "MARK", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .revision = 0, .size = XT_ALIGN(sizeof(struct xt_mark_target_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_mark_target_info)), @@ -330,7 +328,7 @@ static struct xtables_target mark_target6_v0 = { }; static struct xtables_target mark_tg_reg_v2 = { - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .name = "MARK", .revision = 2, .family = AF_UNSPEC, -- cgit v1.2.3