summaryrefslogtreecommitdiffstats
path: root/extensions/ebt_pkttype.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ebt_pkttype.c')
-rw-r--r--extensions/ebt_pkttype.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/extensions/ebt_pkttype.c b/extensions/ebt_pkttype.c
index e129996..73f6e62 100644
--- a/extensions/ebt_pkttype.c
+++ b/extensions/ebt_pkttype.c
@@ -118,15 +118,15 @@ static int compare(const struct ebt_entry_match *m1,
static struct ebt_u_match pkttype_match =
{
- EBT_PKTTYPE_MATCH,
- sizeof(struct ebt_pkttype_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_PKTTYPE_MATCH,
+ .size = sizeof(struct ebt_pkttype_info),
+ .help = print_help,
+ .init = init,
+ .parse = parse,
+ .final_check = final_check,
+ .print = print,
+ .compare = compare,
+ .extra_ops = opts,
};
static void _init(void) __attribute((constructor));