diff options
Diffstat (limited to 'extensions/libip6t_mark.c')
-rw-r--r-- | extensions/libip6t_mark.c | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/extensions/libip6t_mark.c b/extensions/libip6t_mark.c index 5f335ebe..54a279e2 100644 --- a/extensions/libip6t_mark.c +++ b/extensions/libip6t_mark.c @@ -131,20 +131,18 @@ save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) print_mark(info->mark, info->mask, 0); } -static -struct ip6tables_match mark -= { NULL, - "mark", - IPTABLES_VERSION, - IP6T_ALIGN(sizeof(struct ip6t_mark_info)), - IP6T_ALIGN(sizeof(struct ip6t_mark_info)), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts +static struct ip6tables_match mark = { + .name = "mark", + .version = IPTABLES_VERSION, + .size = IP6T_ALIGN(sizeof(struct ip6t_mark_info)), + .userspacesize = IP6T_ALIGN(sizeof(struct ip6t_mark_info)), + .help = &help, + .init = &init, + .parse = &parse, + .final_check = &final_check, + .print = &print, + .save = &save, + .extra_opts = opts, }; void _init(void) |