summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_standard.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_standard.c')
-rw-r--r--extensions/libxt_standard.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/extensions/libxt_standard.c b/extensions/libxt_standard.c
index eef9369b..a50cffe9 100644
--- a/extensions/libxt_standard.c
+++ b/extensions/libxt_standard.c
@@ -24,17 +24,7 @@ static int standard_parse(int c, char **argv, int invert, unsigned int *flags,
}
static struct xtables_target standard_target = {
- .family = AF_INET,
- .name = "standard",
- .version = IPTABLES_VERSION,
- .size = XT_ALIGN(sizeof(int)),
- .userspacesize = XT_ALIGN(sizeof(int)),
- .help = standard_help,
- .parse = standard_parse,
-};
-
-static struct xtables_target standard_target6 = {
- .family = AF_INET6,
+ .family = AF_UNSPEC,
.name = "standard",
.version = IPTABLES_VERSION,
.size = XT_ALIGN(sizeof(int)),
@@ -46,5 +36,4 @@ static struct xtables_target standard_target6 = {
void _init(void)
{
xtables_register_target(&standard_target);
- xtables_register_target(&standard_target6);
}