diff options
Diffstat (limited to 'extensions/libip6t_nth.c')
-rw-r--r-- | extensions/libip6t_nth.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/extensions/libip6t_nth.c b/extensions/libip6t_nth.c index 638074d5..26eeb26e 100644 --- a/extensions/libip6t_nth.c +++ b/extensions/libip6t_nth.c @@ -217,19 +217,18 @@ save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) printf("--packet %u ", nthinfo->packet ); } -struct ip6tables_match nth -= { NULL, - "nth", - IPTABLES_VERSION, - IP6T_ALIGN(sizeof(struct ip6t_nth_info)), - IP6T_ALIGN(sizeof(struct ip6t_nth_info)), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts +struct ip6tables_match nth = { + .name = "nth", + .version = IPTABLES_VERSION, + .size = IP6T_ALIGN(sizeof(struct ip6t_nth_info)), + .userspacesize = IP6T_ALIGN(sizeof(struct ip6t_nth_info)), + .help = &help, + .init = &init, + .parse = &parse, + .final_check = &final_check, + .print = &print, + .save = &save, + .extra_opts = opts, }; void _init(void) |