diff options
Diffstat (limited to 'extensions/libip6t_multiport.c')
-rw-r--r-- | extensions/libip6t_multiport.c | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/extensions/libip6t_multiport.c b/extensions/libip6t_multiport.c index 2dc406d1..0206c1d8 100644 --- a/extensions/libip6t_multiport.c +++ b/extensions/libip6t_multiport.c @@ -249,20 +249,18 @@ static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match printf(" "); } -static -struct ip6tables_match multiport -= { NULL, - "multiport", - IPTABLES_VERSION, - IP6T_ALIGN(sizeof(struct ip6t_multiport)), - IP6T_ALIGN(sizeof(struct ip6t_multiport)), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts +static struct ip6tables_match multiport = { + .name = "multiport", + .version = IPTABLES_VERSION, + .size = IP6T_ALIGN(sizeof(struct ip6t_multiport)), + .userspacesize = IP6T_ALIGN(sizeof(struct ip6t_multiport)), + .help = &help, + .init = &init, + .parase = &parse, + .final_check = &final_check, + .print = &print, + .save = &save, + .extra_opts = opts, }; void |