X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=extensions%2Flibipt_MIRROR.c;h=7e617030aa6f4a453de1a163c6bc301eb5df3671;hb=6afea0b41dfbc3824956d11d960ad80097218feb;hp=b5996fa72a7410ce17b2545b7c2d941ded6be720;hpb=f7b70cf9e00324b89b02de213bcd0dde7044d035;p=iptables.git diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c index b5996fa..7e61703 100644 --- a/extensions/libipt_MIRROR.c +++ b/extensions/libipt_MIRROR.c @@ -41,20 +41,19 @@ final_check(unsigned int flags) { } -static -struct iptables_target mirror -= { NULL, - "MIRROR", - IPTABLES_VERSION, - IPT_ALIGN(0), - IPT_ALIGN(0), - &help, - &init, - &parse, - &final_check, - NULL, /* print */ - NULL, /* save */ - opts +static struct iptables_target mirror = { + .next = NULL, + .name = "MIRROR", + .version = IPTABLES_VERSION, + .size = IPT_ALIGN(0), + .userspacesize = IPT_ALIGN(0), + .help = &help, + .init = &init, + .parse = &parse, + .final_check = &final_check, + .print = NULL, + .save = NULL, + .extra_opts = opts }; void _init(void)