summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2/extensions/ebt_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'userspace/ebtables2/extensions/ebt_log.c')
-rw-r--r--userspace/ebtables2/extensions/ebt_log.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/userspace/ebtables2/extensions/ebt_log.c b/userspace/ebtables2/extensions/ebt_log.c
index 3c2409f..2892348 100644
--- a/userspace/ebtables2/extensions/ebt_log.c
+++ b/userspace/ebtables2/extensions/ebt_log.c
@@ -176,15 +176,15 @@ static int compare(const struct ebt_entry_watcher *w1,
static struct ebt_u_watcher log_watcher =
{
- EBT_LOG_WATCHER,
- sizeof(struct ebt_log_info),
- print_help,
- init,
- parse,
- final_check,
- print,
- compare,
- opts
+ .name = EBT_LOG_WATCHER,
+ .size = sizeof(struct ebt_log_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));