diff options
Diffstat (limited to 'extensions/libipt_mark.c')
-rw-r--r-- | extensions/libipt_mark.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/extensions/libipt_mark.c b/extensions/libipt_mark.c index 14e179ae..1e031ca8 100644 --- a/extensions/libipt_mark.c +++ b/extensions/libipt_mark.c @@ -131,20 +131,19 @@ save(const struct ipt_ip *ip, const struct ipt_entry_match *match) print_mark(info->mark, info->mask, 0); } -static -struct iptables_match mark -= { NULL, - "mark", - IPTABLES_VERSION, - IPT_ALIGN(sizeof(struct ipt_mark_info)), - IPT_ALIGN(sizeof(struct ipt_mark_info)), - &help, - &init, - &parse, - &final_check, - &print, - &save, - opts +static struct iptables_match mark = { + .next = NULL, + .name = "mark", + .version = IPTABLES_VERSION, + .size = IPT_ALIGN(sizeof(struct ipt_mark_info)), + .userspacesize = IPT_ALIGN(sizeof(struct ipt_mark_info)), + .help = &help, + .init = &init, + .parse = &parse, + .final_check = &final_check, + .print = &print, + .save = &save, + .extra_opts = opts }; void _init(void) |