X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=extensions%2Flibip6t_rt.c;h=251604b29a842bced30003aa4945e65864478660;hb=6afea0b41dfbc3824956d11d960ad80097218feb;hp=06cab1655f41c8c070d37582202575b3b74b6913;hpb=f7b70cf9e00324b89b02de213bcd0dde7044d035;p=iptables.git diff --git a/extensions/libip6t_rt.c b/extensions/libip6t_rt.c index 06cab16..251604b 100644 --- a/extensions/libip6t_rt.c +++ b/extensions/libip6t_rt.c @@ -341,20 +341,18 @@ static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match } -static -struct ip6tables_match rt -= { NULL, - "rt", - IPTABLES_VERSION, - IP6T_ALIGN(sizeof(struct ip6t_rt)), - IP6T_ALIGN(sizeof(struct ip6t_rt)), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts +static struct ip6tables_match rt = { + .name = "rt", + .version = IPTABLES_VERSION, + .size = IP6T_ALIGN(sizeof(struct ip6t_rt)), + .userspacesize = IP6T_ALIGN(sizeof(struct ip6t_rt)), + .help = &help, + .init = &init, + .parse = &parse, + .final_check = &final_check, + .print = &print, + .save = &save, + .extra_opts = opts, }; void