diff options
Diffstat (limited to 'extensions/ebt_standard.c')
-rw-r--r-- | extensions/ebt_standard.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/extensions/ebt_standard.c b/extensions/ebt_standard.c index cd34b56..6a260eb 100644 --- a/extensions/ebt_standard.c +++ b/extensions/ebt_standard.c @@ -66,15 +66,16 @@ static int compare(const struct ebt_entry_target *t1, static struct ebt_u_target standard = { - EBT_STANDARD_TARGET, - sizeof(struct ebt_standard_target) - sizeof(struct ebt_entry_target), - print_help, - init, - parse, - final_check, - print, - compare, - opts + .name = EBT_STANDARD_TARGET, + .size = sizeof(struct ebt_standard_target) - + sizeof(struct ebt_entry_target), + .help = print_help, + .init = init, + .parse = parse, + .final_check = final_check, + .print = print, + .compare = compare, + .extra_ops = opts, }; static void _init(void) __attribute__ ((constructor)); |