summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_TRACE.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_TRACE.c')
-rw-r--r--extensions/libxt_TRACE.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/extensions/libxt_TRACE.c b/extensions/libxt_TRACE.c
index c70df6ab..97e3a03f 100644
--- a/extensions/libxt_TRACE.c
+++ b/extensions/libxt_TRACE.c
@@ -24,17 +24,7 @@ static int TRACE_parse(int c, char **argv, int invert, unsigned int *flags,
}
static struct xtables_target trace_target = {
- .family = AF_INET,
- .name = "TRACE",
- .version = IPTABLES_VERSION,
- .size = XT_ALIGN(0),
- .userspacesize = XT_ALIGN(0),
- .help = TRACE_help,
- .parse = TRACE_parse,
-};
-
-static struct xtables_target trace_target6 = {
- .family = AF_INET6,
+ .family = AF_UNSPEC,
.name = "TRACE",
.version = IPTABLES_VERSION,
.size = XT_ALIGN(0),
@@ -46,5 +36,4 @@ static struct xtables_target trace_target6 = {
void _init(void)
{
xtables_register_target(&trace_target);
- xtables_register_target(&trace_target6);
}