summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_CONNSECMARK.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_CONNSECMARK.c
parentfbde4d9d1119908b37c9bb95886294fb6e2493e0 (diff)
[PATCH 08/10] Remove old functions, constants
Diffstat (limited to 'extensions/libxt_CONNSECMARK.c')
-rw-r--r--extensions/libxt_CONNSECMARK.c10
1 files changed, 4 insertions, 6 deletions
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)),