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_CONNSECMARK.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'extensions/libxt_CONNSECMARK.c') diff --git a/extensions/libxt_CONNSECMARK.c b/extensions/libxt_CONNSECMARK.c index e8d0a5e..579ea4c 100644 --- a/extensions/libxt_CONNSECMARK.c +++ b/extensions/libxt_CONNSECMARK.c @@ -17,11 +17,9 @@ static void CONNSECMARK_help(void) { printf( -"CONNSECMARK target v%s options:\n" +"CONNSECMARK target options:\n" " --save Copy security mark from packet to conntrack\n" -" --restore Copy security mark from connection to packet\n" -"\n", -IPTABLES_VERSION); +" --restore Copy security mark from connection to packet\n"); } static const struct option CONNSECMARK_opts[] = { @@ -111,7 +109,7 @@ CONNSECMARK_save(const void *ip, const struct xt_entry_target *target) static struct xtables_target connsecmark_target = { .family = AF_INET, .name = "CONNSECMARK", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .revision = 0, .size = XT_ALIGN(sizeof(struct xt_connsecmark_target_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_connsecmark_target_info)), @@ -126,7 +124,7 @@ static struct xtables_target connsecmark_target = { static struct xtables_target connsecmark_target6 = { .family = AF_INET6, .name = "CONNSECMARK", - .version = IPTABLES_VERSION, + .version = XTABLES_VERSION, .revision = 0, .size = XT_ALIGN(sizeof(struct xt_connsecmark_target_info)), .userspacesize = XT_ALIGN(sizeof(struct xt_connsecmark_target_info)), -- cgit v1.2.3