summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_TARPIT.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_TARPIT.c')
-rw-r--r--extensions/libipt_TARPIT.c27
1 files changed, 13 insertions, 14 deletions
diff --git a/extensions/libipt_TARPIT.c b/extensions/libipt_TARPIT.c
index 643ce614..1d1b0639 100644
--- a/extensions/libipt_TARPIT.c
+++ b/extensions/libipt_TARPIT.c
@@ -45,20 +45,19 @@ static void save(const struct ipt_ip *ip, const struct ipt_entry_target *target)
{
}
-static
-struct iptables_target tarpit
-= { NULL,
- "TARPIT",
- IPTABLES_VERSION,
- IPT_ALIGN(0),
- IPT_ALIGN(0),
- &help,
- &init,
- &parse,
- &final_check,
- &print,
- &save,
- opts
+static struct iptables_target tarpit = {
+ .next = NULL,
+ .name = "TARPIT",
+ .version = IPTABLES_VERSION,
+ .size = IPT_ALIGN(0),
+ .userspacesize = IPT_ALIGN(0),
+ .help = &help,
+ .init = &init,
+ .parse = &parse,
+ .final_check = &final_check,
+ .print = &print,
+ .save = &save,
+ .extra_opts = opts
};
void _init(void)