summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_nth.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_nth.c')
-rw-r--r--extensions/libipt_nth.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/extensions/libipt_nth.c b/extensions/libipt_nth.c
index 764c9b9..569b1ad 100644
--- a/extensions/libipt_nth.c
+++ b/extensions/libipt_nth.c
@@ -217,19 +217,19 @@ save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
printf("--packet %u ", nthinfo->packet );
}
-struct iptables_match nth
-= { NULL,
- "nth",
- IPTABLES_VERSION,
- IPT_ALIGN(sizeof(struct ipt_nth_info)),
- IPT_ALIGN(sizeof(struct ipt_nth_info)),
- &help,
- &init,
- &parse,
- &final_check,
- &print,
- &save,
- opts
+static struct iptables_match nth = {
+ .next = NULL,
+ .name = "nth",
+ .version = IPTABLES_VERSION,
+ .size = IPT_ALIGN(sizeof(struct ipt_nth_info)),
+ .userspacesize = IPT_ALIGN(sizeof(struct ipt_nth_info)),
+ .help = &help,
+ .init = &init,
+ .parse = &parse,
+ .final_check = &final_check,
+ .print = &print,
+ .save = &save,
+ .extra_opts = opts
};
void _init(void)